Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 230.3 MB / 257.9 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 53.37 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006654/0.3422, allocations: 5.009 MB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3458, allocations: 1.283 MB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006688/0.3465, allocations: 15.88 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.3469, allocations: 130.7 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.3476, allocations: 261.6 kB / 438.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.3485, allocations: 315.5 kB / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3496, allocations: 1.091 MB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.3499, allocations: 191 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.3505, allocations: 430.6 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.3511, allocations: 474 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3513, allocations: 92 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.3515, allocations: 123.9 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.3518, allocations: 199.3 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.3522, allocations: 449.8 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3535, allocations: 1.044 MB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3535, allocations: 4 kB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3535, allocations: 0 / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3535, allocations: 0 / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002672/0.3561, allocations: 1.202 MB / 444.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3562, allocations: 8.031 kB / 444.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.3564, allocations: 100.3 kB / 444.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.3571, allocations: 434.1 kB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.3572, allocations: 49.69 kB / 445 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.3573, allocations: 64.33 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3588, allocations: 0.6548 MB / 445.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3589, allocations: 4 kB / 445.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.3589, allocations: 24 kB / 445.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3589, allocations: 16 kB / 445.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.3608, allocations: 0.6999 MB / 446.4 MB, free: 8.652 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.3649, allocations: 2.312 MB / 448.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3665, allocations: 0.5553 MB / 449.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.3673, allocations: 314.6 kB / 449.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.3673, allocations: 8.438 kB / 449.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3683, allocations: 425.4 kB / 450 MB, free: 4.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.613e-06/0.3683, allocations: 3.938 kB / 450 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07453/0.4428, allocations: 15.25 MB / 465.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.443, allocations: 145.5 kB / 465.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.4439, allocations: 0.5147 MB / 465.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.4442, allocations: 53.62 kB / 466 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.4446, allocations: 400.7 kB / 466.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.445, allocations: 325.2 kB / 466.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.4455, allocations: 186.6 kB / 466.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.4457, allocations: 386.7 kB / 467.3 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.4481, allocations: 0.7244 MB / 468 MB, free: 2.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.4507, allocations: 0.9551 MB / 468.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/0.4556, allocations: 1.697 MB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.4556, allocations: 0 / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02468/0.4802, allocations: 5.347 MB / 476 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4803, allocations: 67.53 kB / 476 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.4804, allocations: 4 kB / 476.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03579/0.5162, allocations: 6.844 MB / 482.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.517, allocations: 147.7 kB / 483 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.5249, allocations: 3.165 MB / 486.2 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.5268, allocations: 179.8 kB / 486.4 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.5269, allocations: 51.95 kB / 486.4 MB, free: 40 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005634/0.5275, allocations: 229.6 kB / 486.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5277, allocations: 87.48 kB / 486.7 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02369/0.5514, allocations: 5.072 MB / 491.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.5514, allocations: 12 kB / 491.8 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.5514, allocations: 0 / 491.8 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.5515, allocations: 3.984 kB / 491.8 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.5537, allocations: 1.068 MB / 492.9 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5537, allocations: 0 / 492.9 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.5543, allocations: 99.88 kB / 493 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03527/0.5896, allocations: 6.789 MB / 499.8 MB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/0.5898, allocations: 28.22 kB / 499.8 MB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006714/0.5966, allocations: 3.052 MB / 0.4911 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5966, allocations: 0 / 0.4911 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/0.6229, allocations: 5.944 MB / 0.4969 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.6233, allocations: 79.39 kB / 0.497 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.6236, allocations: 16 kB / 0.497 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.6251, allocations: 175.8 kB / 0.4971 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.6254, allocations: 96.83 kB / 0.4972 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6255, allocations: 31.97 kB / 0.4973 GB, free: 9.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005736/0.6261, allocations: 358.8 kB / 0.4976 GB, free: 8.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6261, allocations: 0 / 0.4976 GB, free: 8.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009377/0.627, allocations: 259.9 kB / 0.4979 GB, free: 8.492 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/0.6274, allocations: 134.1 kB / 0.498 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007477/0.6348, allocations: 2.106 MB / 0.5 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6348, allocations: 0 / 0.5 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003987/0.6388, allocations: 1.012 MB / 0.501 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6399, allocations: 143.2 kB / 0.5012 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.6449, allocations: 1.787 MB / 0.5029 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6457, allocations: 0.9429 MB / 0.5038 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.646, allocations: 62.25 kB / 0.5039 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6461, allocations: 35.44 kB / 0.5039 GB, free: 2.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6461, allocations: 0 / 0.5039 GB, free: 2.195 MB / 414.1 MB Notification: Performance of Templates: time 0.04243/0.6886, allocations: 23.84 MB / 0.5272 GB, free: 10.44 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.620063443668187]