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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.555/1.555, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 51.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3237, allocations: 49.16 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.007452/0.3312, allocations: 4.737 MB / 401.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.3349, allocations: 1.289 MB / 402.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009984/0.3359, allocations: 17.41 kB / 402.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006427/0.3365, allocations: 114 kB / 403 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.3379, allocations: 253.4 kB / 403.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3393, allocations: 296.6 kB / 403.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.3417, allocations: 1.053 MB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.3422, allocations: 188.3 kB / 404.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.3435, allocations: 424.7 kB / 405.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.3449, allocations: 462.5 kB / 405.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.3454, allocations: 88.59 kB / 405.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.346, allocations: 117.6 kB / 405.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.3462, allocations: 195.9 kB / 406 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.3468, allocations: 437.3 kB / 406.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.3487, allocations: 1.002 MB / 407.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3487, allocations: 3.938 kB / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3487, allocations: 0 / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.979e-05/0.3488, allocations: 0 / 407.4 MB, free: 2.879 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.003396/0.3521, allocations: 1.154 MB / 408.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3522, allocations: 13.58 kB / 408.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3524, allocations: 94.27 kB / 408.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/0.3534, allocations: 410.1 kB / 409.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.3535, allocations: 46.95 kB / 409.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3536, allocations: 62.83 kB / 409.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.3556, allocations: 0.6378 MB / 409.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3557, allocations: 2 kB / 409.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.3557, allocations: 28.45 kB / 409.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.3558, allocations: 15.03 kB / 409.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.358, allocations: 0.6778 MB / 410.6 MB, free: 1.129 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.005386/0.3634, allocations: 2.246 MB / 412.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.3655, allocations: 0.5587 MB / 413.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3665, allocations: 311.6 kB / 413.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.3666, allocations: 10.17 kB / 413.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.3679, allocations: 426.7 kB / 414.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.787e-06/0.368, allocations: 0 / 414.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.08201/0.45, allocations: 15.24 MB / 429.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4501, allocations: 145.5 kB / 429.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.4508, allocations: 494.9 kB / 430 MB, free: 1.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.451, allocations: 49.7 kB / 430 MB, free: 1.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.4513, allocations: 380.7 kB / 430.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.4517, allocations: 325.2 kB / 430.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.452, allocations: 182.5 kB / 430.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4522, allocations: 382.8 kB / 431.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.4541, allocations: 0.7163 MB / 432 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.4562, allocations: 0.9226 MB / 432.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.4601, allocations: 1.67 MB / 434.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4601, allocations: 4 kB / 434.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02774/0.4879, allocations: 5.304 MB / 439.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.488, allocations: 63.41 kB / 439.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.488, allocations: 7.938 kB / 439.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04726/0.5352, allocations: 6.844 MB / 446.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.5362, allocations: 135.8 kB / 446.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00981/0.546, allocations: 3.168 MB / 450.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.5485, allocations: 179.8 kB / 450.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.5487, allocations: 43.97 kB / 450.3 MB, free: 13.25 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.0006225/0.5493, allocations: 225.6 kB / 450.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.5496, allocations: 83.53 kB / 450.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03242/0.582, allocations: 5.056 MB / 455.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.582, allocations: 8 kB / 455.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.582, allocations: 0 / 455.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/0.5821, allocations: 3.984 kB / 455.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.5844, allocations: 1.072 MB / 456.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5844, allocations: 3.938 kB / 456.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.5851, allocations: 92.08 kB / 456.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04918/0.6343, allocations: 6.789 MB / 463.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.6346, allocations: 31.97 kB / 463.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00802/0.6426, allocations: 3.045 MB / 466.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6427, allocations: 0 / 466.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03526/0.6779, allocations: 5.944 MB / 472.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.6783, allocations: 67.55 kB / 472.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.6785, allocations: 20 kB / 472.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.6804, allocations: 171.8 kB / 472.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.6808, allocations: 104.8 kB / 473 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.6809, allocations: 31.97 kB / 473 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.6815, allocations: 338.9 kB / 473.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6815, allocations: 0 / 473.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.6825, allocations: 252 kB / 473.6 MB, free: 5.77 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.0003408/0.6829, allocations: 139.1 kB / 473.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009432/0.6923, allocations: 2.087 MB / 475.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.6923, allocations: 4 kB / 475.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.6973, allocations: 1.011 MB / 476.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6985, allocations: 130.4 kB / 477 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.7044, allocations: 1.756 MB / 478.7 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.7051, allocations: 0.935 MB / 479.7 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.7056, allocations: 54.08 kB / 479.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.7058, allocations: 31.44 kB / 479.8 MB, free: 15.54 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7058, allocations: 0 / 479.8 MB, free: 15.54 MB / 398.1 MB Notification: Performance of Templates: time 0.05931/0.7651, allocations: 23.69 MB / 0.4917 GB, free: 7.801 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.261214878410101]