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.001403/0.001403, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.00178/0.00178, allocations: 160.4 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.524/1.524, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002687/0.002687, allocations: 57.58 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1181, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006342/0.1244, allocations: 4.424 MB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1269, allocations: 1.245 MB / 384.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1273, allocations: 15.94 kB / 384.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1276, allocations: 126.7 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1281, allocations: 261.7 kB / 385 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.1288, allocations: 311.5 kB / 385.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1299, allocations: 1.091 MB / 386.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.1302, allocations: 186.9 kB / 386.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.1307, allocations: 426.5 kB / 387 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.1312, allocations: 426 kB / 387.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1313, allocations: 88 kB / 387.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1316, allocations: 112 kB / 387.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.1318, allocations: 207.2 kB / 387.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.1322, allocations: 378.3 kB / 388.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1333, allocations: 1.047 MB / 389.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1333, allocations: 0 / 389.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1333, allocations: 0 / 389.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.1333, allocations: 0 / 389.2 MB, free: 5.141 MB / 350.1 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.002598/0.1359, allocations: 1.213 MB / 390.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1359, allocations: 11.98 kB / 390.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.1361, allocations: 100.3 kB / 390.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.1369, allocations: 434 kB / 391 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.1369, allocations: 45.69 kB / 391 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.137, allocations: 68.33 kB / 391.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.1385, allocations: 0.7881 MB / 391.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1385, allocations: 0 / 391.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.1386, allocations: 28 kB / 391.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1386, allocations: 16 kB / 391.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.1404, allocations: 0.6922 MB / 392.6 MB, free: 1.648 MB / 350.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.004026/0.1445, allocations: 1.797 MB / 394.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.146, allocations: 0.5671 MB / 395 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.1468, allocations: 306.2 kB / 395.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.1469, allocations: 8.5 kB / 395.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.148, allocations: 0.5459 MB / 395.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 4.007e-06/0.148, allocations: 3.938 kB / 395.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.06878/0.2168, allocations: 15.24 MB / 411.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.217, allocations: 145.5 kB / 411.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.218, allocations: 0.5223 MB / 411.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003098/0.2183, allocations: 45.7 kB / 411.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.2187, allocations: 392.7 kB / 412.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.2192, allocations: 329.2 kB / 412.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004921/0.2197, allocations: 186.5 kB / 412.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.2199, allocations: 386.8 kB / 413 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.2222, allocations: 0.7785 MB / 413.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.2245, allocations: 1.088 MB / 414.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/0.2288, allocations: 1.701 MB / 416.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.2288, allocations: 3.938 kB / 416.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02289/0.2517, allocations: 5.393 MB / 422 MB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.2518, allocations: 63.39 kB / 422.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.2518, allocations: 8 kB / 422.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03433/0.2862, allocations: 6.821 MB / 428.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.2869, allocations: 159.7 kB / 429 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.2935, allocations: 3.009 MB / 432.1 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.2952, allocations: 188 kB / 432.2 MB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.2953, allocations: 55.91 kB / 432.3 MB, free: 9.332 MB / 398.1 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.0004974/0.2958, allocations: 229.6 kB / 432.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.296, allocations: 83.48 kB / 432.6 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/0.3236, allocations: 5.068 MB / 437.7 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.3236, allocations: 12 kB / 437.7 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3236, allocations: 0 / 437.7 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.3236, allocations: 7.969 kB / 437.7 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.3258, allocations: 0.7618 MB / 438.4 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.3258, allocations: 0 / 438.4 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.3266, allocations: 103.8 kB / 438.5 MB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03938/0.366, allocations: 6.773 MB / 445.3 MB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.3661, allocations: 23.97 kB / 445.3 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005931/0.3721, allocations: 3.033 MB / 448.4 MB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3721, allocations: 0 / 448.4 MB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/0.3963, allocations: 5.945 MB / 454.3 MB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3966, allocations: 71.5 kB / 454.4 MB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.3967, allocations: 28.19 kB / 454.4 MB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.3981, allocations: 167.8 kB / 454.6 MB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.3985, allocations: 100.8 kB / 454.7 MB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.3986, allocations: 35.97 kB / 454.7 MB, free: 2.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.3991, allocations: 346.9 kB / 455.1 MB, free: 2.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3991, allocations: 0 / 455.1 MB, free: 2.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000978/0.4001, allocations: 260 kB / 455.3 MB, free: 2.152 MB / 414.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.0003269/0.4004, allocations: 137.8 kB / 455.4 MB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.4067, allocations: 2.032 MB / 457.5 MB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4067, allocations: 0 / 457.5 MB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.4103, allocations: 1.007 MB / 458.5 MB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.4111, allocations: 126.2 kB / 458.6 MB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.4149, allocations: 1.818 MB / 460.4 MB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4153, allocations: 353.7 kB / 460.8 MB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.4155, allocations: 58.22 kB / 460.8 MB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4156, allocations: 32.5 kB / 460.9 MB, free: 12.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4156, allocations: 0 / 460.9 MB, free: 12.5 MB / 430.1 MB Notification: Performance of Templates: time 0.2303/0.6459, allocations: 19.01 MB / 479.9 MB, free: 90.01 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.968467070022598]