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.001873/0.001873, allocations: 86.14 kB / 21.44 MB, free: 296 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.00223/0.00223, allocations: 165 kB / 24.7 MB, free: 3.547 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.365/1.365, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.787e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005943/0.00597, allocations: 4.206 MB / 303.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.008375, allocations: 1.237 MB / 304.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.008622, allocations: 11.94 kB / 304.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.008893, allocations: 118.8 kB / 304.5 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.009349, allocations: 265.5 kB / 304.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.009986, allocations: 303.4 kB / 305.1 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.01115, allocations: 1.087 MB / 306.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.01153, allocations: 174.9 kB / 306.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.01223, allocations: 0.5886 MB / 306.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.01277, allocations: 351 kB / 307.3 MB, free: 344 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.0129, allocations: 91.98 kB / 307.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.01317, allocations: 111.9 kB / 307.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.01338, allocations: 203.2 kB / 307.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.01373, allocations: 307.3 kB / 308 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.01482, allocations: 1.051 MB / 309 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01483, allocations: 4 kB / 309 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01483, allocations: 0 / 309 MB, free: 14.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.01484, allocations: 3.938 kB / 309 MB, free: 14.57 MB / 302.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.002462/0.0173, allocations: 1.155 MB / 310.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01734, allocations: 11.98 kB / 310.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.01756, allocations: 92.38 kB / 310.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.01822, allocations: 411.2 kB / 310.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.01827, allocations: 45.69 kB / 310.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.01838, allocations: 56.38 kB / 310.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.01984, allocations: 0.765 MB / 311.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.01986, allocations: 192 / 311.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.01994, allocations: 28.38 kB / 311.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.01995, allocations: 15.94 kB / 311.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.02176, allocations: 0.6765 MB / 312.3 MB, free: 11.21 MB / 302.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.00354/0.0253, allocations: 1.762 MB / 314 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.0268, allocations: 0.5556 MB / 314.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/0.02756, allocations: 310.1 kB / 314.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.02761, allocations: 12.48 kB / 314.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.02864, allocations: 0.5381 MB / 315.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.214e-06/0.02864, allocations: 0 / 315.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.1995/0.2282, allocations: 15.23 MB / 330.7 MB, free: 32.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.2282, allocations: 152.3 kB / 330.8 MB, free: 32.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.2288, allocations: 494 kB / 331.3 MB, free: 32.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.229, allocations: 47.48 kB / 331.4 MB, free: 32.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.2291, allocations: 371.6 kB / 331.7 MB, free: 32.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.2293, allocations: 321.7 kB / 332 MB, free: 31.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.2297, allocations: 176 kB / 332.2 MB, free: 31.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.2297, allocations: 384.8 kB / 332.6 MB, free: 31.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.2317, allocations: 0.7714 MB / 333.4 MB, free: 31.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.2337, allocations: 1.057 MB / 334.4 MB, free: 30.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.2375, allocations: 1.664 MB / 336.1 MB, free: 29.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.2375, allocations: 5.906 kB / 336.1 MB, free: 29.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02353/0.2611, allocations: 5.374 MB / 341.5 MB, free: 27.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.2611, allocations: 68.55 kB / 341.5 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.2611, allocations: 8.75 kB / 341.5 MB, free: 26.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03436/0.2955, allocations: 6.841 MB / 348.4 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.2962, allocations: 143.7 kB / 348.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/0.3022, allocations: 3.154 MB / 351.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3037, allocations: 183.8 kB / 351.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/0.3038, allocations: 39.98 kB / 351.9 MB, free: 16.76 MB / 302.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.0003617/0.3042, allocations: 225.6 kB / 352.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3043, allocations: 79.47 kB / 352.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/0.3244, allocations: 5.069 MB / 357.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.3244, allocations: 8 kB / 357.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3245, allocations: 0.5625 kB / 357.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.3245, allocations: 7.969 kB / 357.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3257, allocations: 0.7441 MB / 358 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3257, allocations: 4 kB / 358 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.3262, allocations: 95.81 kB / 358.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03135/0.3576, allocations: 6.793 MB / 364.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.3578, allocations: 21.02 kB / 364.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.3628, allocations: 3.047 MB / 368 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3628, allocations: 3.938 kB / 368 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/0.388, allocations: 5.943 MB / 373.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.3883, allocations: 71.5 kB / 374 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.3886, allocations: 24.3 kB / 374 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.3902, allocations: 171.8 kB / 374.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.3906, allocations: 108.8 kB / 374.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.3907, allocations: 23.98 kB / 374.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000494/0.3912, allocations: 341.6 kB / 374.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3912, allocations: 0 / 374.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001055/0.3923, allocations: 259.7 kB / 374.9 MB, free: 9.672 MB / 318.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.0003584/0.3926, allocations: 123.2 kB / 375 MB, free: 9.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.007416/0.4, allocations: 2.148 MB / 377.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4, allocations: 0 / 377.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.4037, allocations: 1.026 MB / 378.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.4045, allocations: 123.7 kB / 378.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.4086, allocations: 1.689 MB / 380 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4089, allocations: 346.7 kB / 380.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.4092, allocations: 57.88 kB / 380.4 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4093, allocations: 36.5 kB / 380.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4093, allocations: 0 / 380.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of Templates: time 0.02979/0.4391, allocations: 18.73 MB / 399.2 MB, free: 1.301 MB / 334.1 MB " [Timeout remaining time 660] 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: 5.567338660359383]