Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.0009341, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009851/0.0009851, allocations: 163 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9949/0.9949, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.75e-05, allocations: 5.266 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.009991/0.01001, allocations: 4.853 MB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.01199, allocations: 1.268 MB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.01227, allocations: 11.94 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.01256, allocations: 130.7 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.01296, allocations: 273.4 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.01347, allocations: 319.3 kB / 279.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.0145, allocations: 1.134 MB / 281 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.01481, allocations: 186.9 kB / 281.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.01537, allocations: 0.612 MB / 281.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.01573, allocations: 367 kB / 282.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.01582, allocations: 92 kB / 282.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.01597, allocations: 116 kB / 282.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.01608, allocations: 203.2 kB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.0163, allocations: 319.3 kB / 282.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.01687, allocations: 0.7201 MB / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01687, allocations: 0 / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01687, allocations: 0 / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.01688, allocations: 0 / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001425/0.01831, allocations: 1.278 MB / 284.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.01834, allocations: 15.98 kB / 284.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.01852, allocations: 152.3 kB / 285 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.01895, allocations: 428.2 kB / 285.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.01898, allocations: 49.67 kB / 285.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.01906, allocations: 72.33 kB / 285.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.01975, allocations: 0.6094 MB / 286.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01976, allocations: 192 / 286.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.01981, allocations: 32.31 kB / 286.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01982, allocations: 15.94 kB / 286.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.02033, allocations: 323.6 kB / 286.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.02244, allocations: 1.765 MB / 288.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.02293, allocations: 325.3 kB / 288.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.02314, allocations: 165 kB / 288.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.02317, allocations: 8.5 kB / 288.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.02357, allocations: 431.9 kB / 289.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.503e-06/0.02358, allocations: 0 / 289.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1349/0.1585, allocations: 9.799 MB / 299 MB, free: 27.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.1586, allocations: 148.3 kB / 299.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.159, allocations: 0.5343 MB / 299.7 MB, free: 26.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.159, allocations: 44.11 kB / 299.7 MB, free: 26.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1592, allocations: 444.2 kB / 300.2 MB, free: 26.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1594, allocations: 325.8 kB / 300.5 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.1596, allocations: 185.4 kB / 300.7 MB, free: 26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.1597, allocations: 0.5604 MB / 301.2 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.1601, allocations: 353.6 kB / 301.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.1607, allocations: 0.7307 MB / 302.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.1616, allocations: 0.9786 MB / 303.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1616, allocations: 0 / 303.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007826/0.1694, allocations: 3.53 MB / 306.8 MB, free: 20.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1694, allocations: 59.41 kB / 306.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1694, allocations: 8 kB / 306.9 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/0.1824, allocations: 5.195 MB / 312.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1826, allocations: 127.8 kB / 312.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.185, allocations: 2.652 MB / 314.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.1856, allocations: 115.9 kB / 315 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.1857, allocations: 51.97 kB / 315 MB, free: 12.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * Single equations (assignments): 50 * 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.0002276/0.1859, allocations: 220.4 kB / 315.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.186, allocations: 115.5 kB / 315.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00729/0.1933, allocations: 3.17 MB / 318.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.1933, allocations: 12 kB / 318.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1933, allocations: 3.938 kB / 318.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1934, allocations: 9.656 kB / 318.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.1939, allocations: 0.6726 MB / 319.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1939, allocations: 4 kB / 319.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1941, allocations: 67.88 kB / 319.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/0.2067, allocations: 5.137 MB / 324.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.2068, allocations: 23.97 kB / 324.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.2087, allocations: 2.582 MB / 327 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2087, allocations: 0 / 327 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.217, allocations: 3.489 MB / 330.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.217, allocations: 71.47 kB / 330.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.2171, allocations: 20 kB / 330.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.2176, allocations: 108.7 kB / 330.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.2178, allocations: 88.83 kB / 330.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.2178, allocations: 35.97 kB / 330.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.2181, allocations: 342.8 kB / 331.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2181, allocations: 0 / 331.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.2186, allocations: 263.9 kB / 331.4 MB, free: 11.7 MB / 282.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.0002/0.2188, allocations: 133.3 kB / 331.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.221, allocations: 1.322 MB / 332.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.221, allocations: 0 / 332.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.2222, allocations: 0.6612 MB / 333.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2226, allocations: 156.7 kB / 333.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.2247, allocations: 1.487 MB / 335.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.2248, allocations: 164 kB / 335.3 MB, free: 7.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.2249, allocations: 57.61 kB / 335.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.225, allocations: 32.5 kB / 335.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.225, allocations: 0 / 335.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of Templates: time 0.01821/0.2432, allocations: 19.05 MB / 354.5 MB, free: 4.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5829546991735697]