Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 213.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 54.59 kB / 347.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.34, allocations: 49.15 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005662/0.3456, allocations: 4.205 MB / 401.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.3487, allocations: 1.239 MB / 402.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.3492, allocations: 9.062 kB / 402.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.3496, allocations: 118.7 kB / 402.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.3503, allocations: 258.2 kB / 402.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.3512, allocations: 302.1 kB / 403 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3523, allocations: 1.045 MB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.3527, allocations: 178.9 kB / 404.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.3533, allocations: 421.6 kB / 404.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.3539, allocations: 406 kB / 405 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.3541, allocations: 88.69 kB / 405.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.3543, allocations: 120.7 kB / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3545, allocations: 192.7 kB / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.3549, allocations: 369.4 kB / 405.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.3561, allocations: 1.009 MB / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.3561, allocations: 1.375 kB / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3561, allocations: 0 / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3561, allocations: 0 / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00248/0.3586, allocations: 1.159 MB / 407.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3586, allocations: 13.83 kB / 407.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3588, allocations: 93.78 kB / 408 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.3596, allocations: 405.7 kB / 408.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.3596, allocations: 47.36 kB / 408.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3597, allocations: 62.11 kB / 408.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3613, allocations: 0.7613 MB / 409.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3613, allocations: 1.375 kB / 409.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.3614, allocations: 29.47 kB / 409.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.3614, allocations: 18.06 kB / 409.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.3631, allocations: 0.6747 MB / 410 MB, free: 1.566 MB / 318.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.003521/0.3666, allocations: 1.75 MB / 411.8 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.368, allocations: 0.5513 MB / 412.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.3688, allocations: 316 kB / 412.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.3689, allocations: 16.31 kB / 412.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.37, allocations: 0.5331 MB / 413.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.806e-06/0.37, allocations: 0 / 413.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07026/0.4402, allocations: 15.24 MB / 428.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.4404, allocations: 145.5 kB / 428.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.4412, allocations: 0.491 MB / 429.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.4414, allocations: 41.7 kB / 429.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.4418, allocations: 372.8 kB / 429.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.4422, allocations: 329.2 kB / 429.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.4425, allocations: 178.6 kB / 430 MB, free: 1.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.4427, allocations: 386.8 kB / 430.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.4448, allocations: 0.7704 MB / 431.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.4471, allocations: 1.06 MB / 432.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/0.4512, allocations: 1.662 MB / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4512, allocations: 0 / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02352/0.4747, allocations: 5.374 MB / 439.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/0.4748, allocations: 67.39 kB / 439.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.4748, allocations: 7.938 kB / 439.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03624/0.5111, allocations: 6.844 MB / 446.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.5119, allocations: 139.8 kB / 446.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/0.5195, allocations: 3.165 MB / 449.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5214, allocations: 175.8 kB / 449.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.5216, allocations: 43.97 kB / 449.6 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0005488/0.5221, allocations: 225.8 kB / 449.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.5223, allocations: 83.41 kB / 449.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02251/0.5448, allocations: 5.068 MB / 455 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.5449, allocations: 11.98 kB / 455 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5449, allocations: 0 / 455 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.5449, allocations: 3.984 kB / 455 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.5465, allocations: 0.7566 MB / 455.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5465, allocations: 0 / 455.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.547, allocations: 91.89 kB / 455.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03458/0.5816, allocations: 6.793 MB / 462.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.5819, allocations: 23.92 kB / 462.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006853/0.5888, allocations: 3.041 MB / 465.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.5888, allocations: 7.938 kB / 465.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02658/0.6153, allocations: 5.944 MB / 471.7 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.6157, allocations: 67.55 kB / 471.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.616, allocations: 20 kB / 471.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6177, allocations: 167.8 kB / 471.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.618, allocations: 100.8 kB / 472 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6182, allocations: 39.91 kB / 472.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000492/0.6187, allocations: 330.9 kB / 472.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6187, allocations: 0 / 472.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.6197, allocations: 252 kB / 472.6 MB, free: 6.555 MB / 382.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.0004097/0.6201, allocations: 135.4 kB / 472.8 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007441/0.6275, allocations: 2.145 MB / 474.9 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6275, allocations: 0 / 474.9 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003714/0.6312, allocations: 1.019 MB / 475.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.6322, allocations: 126.2 kB / 476 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.6366, allocations: 1.744 MB / 477.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.637, allocations: 344.9 kB / 478.1 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003204/0.6373, allocations: 57.97 kB / 478.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6374, allocations: 35.44 kB / 478.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6374, allocations: 0 / 478.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of Templates: time 0.035/0.6724, allocations: 19.8 MB / 498 MB, free: 12.96 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.257395142689347]