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.001333/0.001333, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001779/0.001779, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 8 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.00195/0.00195, allocations: 63.89 kB / 379.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 53.4 MB / 432.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007111/0.3613, allocations: 5.001 MB / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.3642, allocations: 1.295 MB / 438.8 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.3649, allocations: 15.94 kB / 438.8 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.3654, allocations: 130.7 kB / 438.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.3662, allocations: 261.7 kB / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.3671, allocations: 307.5 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3687, allocations: 1.099 MB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.3691, allocations: 183 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007385/0.3699, allocations: 442.5 kB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008133/0.3707, allocations: 474 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.3709, allocations: 92 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.3712, allocations: 120 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.3714, allocations: 195.3 kB / 442 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006016/0.372, allocations: 453.8 kB / 442.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3733, allocations: 1.044 MB / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3733, allocations: 0 / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3733, allocations: 0 / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.3734, allocations: 0 / 443.5 MB, free: 11.62 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.002874/0.3762, allocations: 1.206 MB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3763, allocations: 12.03 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3765, allocations: 100.3 kB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.3773, allocations: 426.1 kB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.3773, allocations: 49.69 kB / 445.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3774, allocations: 72.33 kB / 445.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3789, allocations: 0.6548 MB / 446 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3789, allocations: 3.984 kB / 446 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.379, allocations: 28 kB / 446.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.379, allocations: 12 kB / 446.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.3808, allocations: 0.6999 MB / 446.8 MB, free: 8.289 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.00437/0.3851, allocations: 2.312 MB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3866, allocations: 0.5522 MB / 449.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/0.3874, allocations: 310.6 kB / 449.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.3874, allocations: 8.438 kB / 449.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009808/0.3884, allocations: 429.4 kB / 450.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.434e-06/0.3884, allocations: 0 / 450.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07393/0.4623, allocations: 15.25 MB / 465.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.4625, allocations: 145.5 kB / 465.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.4634, allocations: 0.5186 MB / 466.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.4637, allocations: 41.7 kB / 466.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.4643, allocations: 396.7 kB / 466.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005443/0.4648, allocations: 329.2 kB / 467 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004976/0.4653, allocations: 186.6 kB / 467.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4655, allocations: 386.7 kB / 467.6 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.4678, allocations: 0.7282 MB / 468.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.4701, allocations: 0.9629 MB / 469.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/0.4745, allocations: 1.689 MB / 471 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4745, allocations: 0 / 471 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02455/0.4991, allocations: 5.343 MB / 476.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.4991, allocations: 67.39 kB / 476.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4992, allocations: 8 kB / 476.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03561/0.5348, allocations: 6.844 MB / 483.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.5355, allocations: 147.7 kB / 483.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/0.5434, allocations: 3.161 MB / 486.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.5452, allocations: 175.9 kB / 486.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.5454, allocations: 51.97 kB / 486.7 MB, free: 15.69 MB / 398.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.0005509/0.5459, allocations: 233.6 kB / 487 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.5462, allocations: 83.47 kB / 487.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02428/0.5704, allocations: 5.072 MB / 492.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5705, allocations: 8 kB / 492.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5705, allocations: 0 / 492.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.5705, allocations: 3.984 kB / 492.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.5722, allocations: 1.08 MB / 493.2 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5722, allocations: 4 kB / 493.2 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.5728, allocations: 91.88 kB / 493.3 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03536/0.6081, allocations: 6.789 MB / 0.4884 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/0.6084, allocations: 27.97 kB / 0.4884 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006369/0.6147, allocations: 3.045 MB / 0.4914 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6147, allocations: 4 kB / 0.4914 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02597/0.6407, allocations: 5.944 MB / 0.4972 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.6409, allocations: 79.39 kB / 0.4973 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.6412, allocations: 19.94 kB / 0.4973 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.6426, allocations: 171.8 kB / 0.4974 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.6429, allocations: 100.8 kB / 0.4975 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.643, allocations: 27.98 kB / 0.4976 GB, free: 8.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004779/0.6435, allocations: 354.8 kB / 0.4979 GB, free: 8.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6435, allocations: 0 / 0.4979 GB, free: 8.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000845/0.6444, allocations: 267.9 kB / 0.4982 GB, free: 8.141 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.0002857/0.6446, allocations: 134.7 kB / 0.4983 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.6518, allocations: 2.099 MB / 0.5003 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6518, allocations: 0 / 0.5003 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.6555, allocations: 1.023 MB / 0.5013 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.6563, allocations: 132.9 kB / 0.5015 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.6607, allocations: 1.827 MB / 0.5033 GB, free: 2.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.6614, allocations: 0.9468 MB / 0.5042 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.6616, allocations: 43.42 kB / 0.5042 GB, free: 1.852 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.6616, allocations: 0 / 0.5042 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Templates: time 0.02748/0.6891, allocations: 17.48 MB / 0.5213 GB, free: 404 kB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/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: 8.655028307810426]