Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.000821/0.000821, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001876, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007068/0.0007068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008663/0.001573, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9539/0.9539, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08697/1.041, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.228e-05, allocations: 2.312 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003704/0.003716, allocations: 4.847 MB / 249.9 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.006036, allocations: 1.33 MB / 251.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.006321, allocations: 11.94 kB / 251.2 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.006501, allocations: 126.7 kB / 251.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.006846, allocations: 277.4 kB / 251.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.007311, allocations: 319.3 kB / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.008095, allocations: 1.114 MB / 253.1 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.008315, allocations: 192.9 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.008896, allocations: 0.685 MB / 253.9 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.009219, allocations: 367 kB / 254.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.009308, allocations: 92 kB / 254.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.009468, allocations: 119.9 kB / 254.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.009557, allocations: 147.5 kB / 254.6 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.00976, allocations: 255.5 kB / 254.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.01046, allocations: 0.6345 MB / 255.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.065e-05/0.01048, allocations: 0 / 255.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01048, allocations: 4 kB / 255.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.01052, allocations: 0 / 255.5 MB, free: 3.066 MB / 250.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.001596/0.01212, allocations: 1.337 MB / 256.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.01215, allocations: 16.55 kB / 256.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.01228, allocations: 116.8 kB / 257 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.01269, allocations: 333.5 kB / 257.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.01272, allocations: 53.67 kB / 257.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.01279, allocations: 76.3 kB / 257.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.01333, allocations: 0.5703 MB / 258 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01335, allocations: 192 / 258 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.01338, allocations: 28.36 kB / 258 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.01339, allocations: 19.94 kB / 258.1 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.01368, allocations: 218.3 kB / 258.3 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.01548, allocations: 1.461 MB / 259.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.01581, allocations: 263.5 kB / 260 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.01593, allocations: 111 kB / 260.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.01597, allocations: 16.48 kB / 260.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.01629, allocations: 406.8 kB / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.433e-06/0.01629, allocations: 0 / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.02398/0.04027, allocations: 10.77 MB / 271.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.04032, allocations: 64.39 kB / 271.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.0407, allocations: 482.9 kB / 271.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.04081, allocations: 45.7 kB / 271.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.04097, allocations: 333.9 kB / 272.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.04116, allocations: 337.1 kB / 272.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.04137, allocations: 186.5 kB / 272.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.04149, allocations: 394.6 kB / 273.1 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.04179, allocations: 237.6 kB / 273.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.04217, allocations: 0.5497 MB / 273.9 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.04282, allocations: 0.7596 MB / 274.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-06/0.04283, allocations: 0 / 274.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006551/0.04938, allocations: 3.109 MB / 277.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.04944, allocations: 63.39 kB / 277.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.04945, allocations: 11.98 kB / 277.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.06125, allocations: 5.029 MB / 282.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.06158, allocations: 139.8 kB / 283 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.06951, allocations: 5.324 MB / 288.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.0701, allocations: 119.9 kB / 288.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.07016, allocations: 39.97 kB / 288.5 MB, free: 1.352 MB / 282.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): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.07038, allocations: 169.7 kB / 288.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.07049, allocations: 79.92 kB / 288.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1161/0.1866, allocations: 2.823 MB / 291.5 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.1866, allocations: 9.062 kB / 291.5 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.1866, allocations: 10.72 kB / 291.5 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.1866, allocations: 6.516 kB / 291.6 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/0.1875, allocations: 0.5176 MB / 292.1 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1875, allocations: 0 / 292.1 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.1877, allocations: 67.44 kB / 292.1 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.1878, allocations: 69.05 kB / 292.2 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/0.2003, allocations: 4.989 MB / 297.2 MB, free: 35.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.2004, allocations: 22.77 kB / 297.2 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/0.208, allocations: 5.291 MB / 302.5 MB, free: 33.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.208, allocations: 2.562 kB / 302.5 MB, free: 33.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.214, allocations: 3.022 MB / 305.5 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.2142, allocations: 21.12 kB / 305.6 MB, free: 32.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.2146, allocations: 113.6 kB / 305.7 MB, free: 32.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.2148, allocations: 115.4 kB / 305.8 MB, free: 32.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.2148, allocations: 26.41 kB / 305.8 MB, free: 32.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2149, allocations: 203.4 kB / 306 MB, free: 32.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2149, allocations: 0 / 306 MB, free: 32.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006388/0.2156, allocations: 362.8 kB / 306.4 MB, free: 32.62 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): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.2158, allocations: 107.4 kB / 306.5 MB, free: 32.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.2172, allocations: 1.305 MB / 307.8 MB, free: 31.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/0.2173, allocations: 22.81 kB / 307.8 MB, free: 31.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.2182, allocations: 0.7944 MB / 308.6 MB, free: 30.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2185, allocations: 217.3 kB / 308.8 MB, free: 30.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.2225, allocations: 1.504 MB / 310.3 MB, free: 29.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2226, allocations: 184.6 kB / 310.5 MB, free: 28.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.2227, allocations: 58.39 kB / 310.5 MB, free: 28.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.2229, allocations: 177.4 kB / 310.7 MB, free: 28.64 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2229, allocations: 0 / 310.7 MB, free: 28.64 MB / 282.7 MB Notification: Performance of Templates: time 0.02956/0.2525, allocations: 30.25 MB / 341 MB, free: 14.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_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.296903010457754]