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.00102/0.00102, allocations: 91.61 kB / 22.19 MB, free: 2.359 MB / 18.57 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.001097/0.001097, allocations: 168.8 kB / 25.45 MB, free: 9.355 MB / 18.57 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 0.8273/0.8273, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.383e-06/1.383e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.717e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.003368/0.003385, allocations: 4.195 MB / 303.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005259, allocations: 1.237 MB / 305.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.005529, allocations: 15.94 kB / 305.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.005746, allocations: 114.8 kB / 305.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.006079, allocations: 265.5 kB / 305.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.006618, allocations: 307.4 kB / 305.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000725/0.007343, allocations: 1.087 MB / 306.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.007578, allocations: 170.9 kB / 307.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.008101, allocations: 0.5925 MB / 307.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.008416, allocations: 347 kB / 308 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.008496, allocations: 88 kB / 308.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.008638, allocations: 115.9 kB / 308.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.008737, allocations: 199.2 kB / 308.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.008923, allocations: 311.3 kB / 308.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.009633, allocations: 1.048 MB / 309.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009635, allocations: 0 / 309.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.009637, allocations: 3.938 kB / 309.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.009649, allocations: 4 kB / 309.8 MB, free: 12.77 MB / 298.7 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.001431/0.01108, allocations: 1.151 MB / 310.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.01111, allocations: 19.98 kB / 310.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.01122, allocations: 96.31 kB / 311 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.01169, allocations: 407.2 kB / 311.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.01173, allocations: 49.69 kB / 311.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.01182, allocations: 60.38 kB / 311.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.01301, allocations: 0.761 MB / 312.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.01303, allocations: 8.172 kB / 312.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.01309, allocations: 24.38 kB / 312.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.0131, allocations: 19.94 kB / 312.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.0142, allocations: 0.6687 MB / 313 MB, free: 9.398 MB / 298.7 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.002153/0.01635, allocations: 1.758 MB / 314.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.01716, allocations: 0.5478 MB / 315.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.01756, allocations: 314.2 kB / 315.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.01759, allocations: 8.484 kB / 315.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/0.01812, allocations: 0.542 MB / 316.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.753e-06/0.01812, allocations: 3.938 kB / 316.2 MB, free: 6.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.03193/0.05006, allocations: 15.24 MB / 331.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.05013, allocations: 153.4 kB / 331.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.05077, allocations: 490.8 kB / 332.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.05084, allocations: 45.7 kB / 332.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.05102, allocations: 368.8 kB / 332.5 MB, free: 5.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.0512, allocations: 325.1 kB / 332.8 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.05142, allocations: 178.6 kB / 333 MB, free: 5.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.05153, allocations: 378.8 kB / 333.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.05263, allocations: 0.7821 MB / 334.1 MB, free: 4.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.05382, allocations: 1.06 MB / 335.2 MB, free: 2.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.05601, allocations: 1.662 MB / 336.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.05601, allocations: 0 / 336.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01095/0.06696, allocations: 5.377 MB / 342.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.067, allocations: 63.41 kB / 342.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.06702, allocations: 4 kB / 342.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.08209, allocations: 6.84 MB / 349.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.08244, allocations: 143.8 kB / 349.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.08604, allocations: 3.161 MB / 352.4 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.08682, allocations: 179.9 kB / 352.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.08688, allocations: 43.97 kB / 352.6 MB, free: 1.184 MB / 330.7 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.0003062/0.08719, allocations: 225.7 kB / 352.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.08727, allocations: 75.53 kB / 352.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1412/0.2284, allocations: 5.066 MB / 358 MB, free: 62.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.2285, allocations: 10.66 kB / 358 MB, free: 62.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2285, allocations: 0 / 358 MB, free: 62.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.2285, allocations: 3.516 kB / 358 MB, free: 62.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.2294, allocations: 0.7432 MB / 358.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2294, allocations: 6.75 kB / 358.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2296, allocations: 94.12 kB / 358.9 MB, free: 61.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/0.2442, allocations: 6.785 MB / 365.6 MB, free: 60.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.2443, allocations: 30.72 kB / 365.7 MB, free: 60.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.2471, allocations: 3.048 MB / 368.7 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2471, allocations: 3.938 kB / 368.7 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.2574, allocations: 5.949 MB / 374.7 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.2575, allocations: 68.3 kB / 374.7 MB, free: 52.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.2576, allocations: 20 kB / 374.8 MB, free: 52.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.2581, allocations: 167.8 kB / 374.9 MB, free: 52.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.2583, allocations: 100.8 kB / 375 MB, free: 51.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.2583, allocations: 39.91 kB / 375.1 MB, free: 51.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.2585, allocations: 322.9 kB / 375.4 MB, free: 51.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2585, allocations: 0 / 375.4 MB, free: 51.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.259, allocations: 259.7 kB / 375.6 MB, free: 51.37 MB / 330.7 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.0001845/0.2591, allocations: 141.2 kB / 375.8 MB, free: 51.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.2622, allocations: 2.137 MB / 377.9 MB, free: 49.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2622, allocations: 8 kB / 377.9 MB, free: 49.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.2637, allocations: 1.017 MB / 378.9 MB, free: 48.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2641, allocations: 122.2 kB / 379 MB, free: 47.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.266, allocations: 1.726 MB / 380.8 MB, free: 46.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2661, allocations: 343.3 kB / 381.1 MB, free: 45.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2662, allocations: 36.5 kB / 381.1 MB, free: 45.82 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2662, allocations: 0 / 381.1 MB, free: 45.82 MB / 330.7 MB Notification: Performance of Templates: time 0.009418/0.2756, allocations: 17.21 MB / 398.4 MB, free: 28.62 MB / 330.7 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.274115423671901]