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.001925/0.001925, allocations: 111.9 kB / 21.93 MB, free: 5.223 MB / 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.002301/0.002301, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.487/1.487, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001921/0.001921, allocations: 66.89 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005166/0.3106, allocations: 4.204 MB / 401.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.3132, allocations: 1.235 MB / 403.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.3136, allocations: 12.47 kB / 403.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3139, allocations: 115.5 kB / 403.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.3144, allocations: 252.9 kB / 403.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.3152, allocations: 306.4 kB / 403.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.3163, allocations: 1.051 MB / 404.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.3166, allocations: 179.4 kB / 404.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.3172, allocations: 422.5 kB / 405.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.3177, allocations: 406.8 kB / 405.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3179, allocations: 92.52 kB / 405.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.3182, allocations: 113 kB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3183, allocations: 197 kB / 406.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.3187, allocations: 364.7 kB / 406.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3199, allocations: 1.007 MB / 407.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3199, allocations: 0 / 407.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3199, allocations: 1.281 kB / 407.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.3199, allocations: 0 / 407.5 MB, free: 3.527 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.002505/0.3224, allocations: 1.163 MB / 408.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3225, allocations: 14.38 kB / 408.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3227, allocations: 96.36 kB / 408.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.3234, allocations: 403.5 kB / 409.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.3234, allocations: 47.09 kB / 409.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3235, allocations: 65.98 kB / 409.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3249, allocations: 0.7662 MB / 410.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.3249, allocations: 0 / 410.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.325, allocations: 25.25 kB / 410.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.325, allocations: 15.41 kB / 410.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3266, allocations: 0.6703 MB / 410.8 MB, free: 1.598 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.003335/0.3299, allocations: 1.758 MB / 412.5 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3312, allocations: 0.5556 MB / 413.1 MB, free: 0 / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/0.332, allocations: 307.6 kB / 413.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.3321, allocations: 5.938 kB / 413.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3331, allocations: 0.5408 MB / 413.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.004e-06/0.3331, allocations: 3.938 kB / 413.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06947/0.4026, allocations: 15.24 MB / 429.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4027, allocations: 145.5 kB / 429.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.4034, allocations: 498.7 kB / 429.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.4036, allocations: 45.7 kB / 429.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4039, allocations: 376.8 kB / 430.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.4042, allocations: 329.2 kB / 430.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.4046, allocations: 178.6 kB / 430.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4048, allocations: 378.8 kB / 431.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.4069, allocations: 0.7782 MB / 431.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.4092, allocations: 1.056 MB / 432.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004239/0.4135, allocations: 1.662 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4135, allocations: 0 / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02349/0.437, allocations: 5.374 MB / 440 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/0.4371, allocations: 71.39 kB / 440 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4371, allocations: 4 kB / 440 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03437/0.4714, allocations: 6.836 MB / 446.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.4723, allocations: 143.7 kB / 447 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.48, allocations: 3.165 MB / 450.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.4818, allocations: 179.8 kB / 450.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.482, allocations: 39.98 kB / 450.4 MB, free: 13.7 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.0005465/0.4825, allocations: 225.6 kB / 450.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.4827, allocations: 79.47 kB / 450.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02321/0.5059, allocations: 5.06 MB / 455.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.506, allocations: 8 kB / 455.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.506, allocations: 4 kB / 455.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.506, allocations: 7.969 kB / 455.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.5077, allocations: 0.7527 MB / 456.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5077, allocations: 3.938 kB / 456.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.5083, allocations: 99.81 kB / 456.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03469/0.543, allocations: 6.785 MB / 463.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.5433, allocations: 27.92 kB / 463.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006511/0.5498, allocations: 3.045 MB / 466.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5498, allocations: 3.938 kB / 466.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/0.5758, allocations: 5.948 MB / 472.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.5762, allocations: 67.55 kB / 472.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.5765, allocations: 16 kB / 472.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.5782, allocations: 171.8 kB / 472.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.5785, allocations: 96.83 kB / 472.8 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5786, allocations: 35.92 kB / 472.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000475/0.5791, allocations: 334.8 kB / 473.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5791, allocations: 4 kB / 473.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009926/0.5801, allocations: 252 kB / 473.4 MB, free: 6.543 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.0003249/0.5804, allocations: 135.2 kB / 473.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.5877, allocations: 2.141 MB / 475.7 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5878, allocations: 4.125 kB / 475.7 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003712/0.5915, allocations: 1.019 MB / 476.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.5924, allocations: 123.5 kB / 476.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.5969, allocations: 1.785 MB / 478.6 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5973, allocations: 348.9 kB / 478.9 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5975, allocations: 35.44 kB / 479 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5975, allocations: 0 / 479 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of Templates: time 0.03215/0.6296, allocations: 17.19 MB / 496.1 MB, free: 15.64 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/jenkins1/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/jenkins1/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: 8.981768605764955]