Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001197/0.001197, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006987/0.006987, allocations: 162.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.53e-05, allocations: 4.531 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003968/0.003993, allocations: 4.425 MB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.006135, allocations: 1.256 MB / 331.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.006453, allocations: 11.94 kB / 331.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.006689, allocations: 126.7 kB / 331.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.007063, allocations: 277.4 kB / 332 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.007623, allocations: 311.4 kB / 332.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.008473, allocations: 1.141 MB / 333.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.008771, allocations: 174.9 kB / 333.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.009317, allocations: 0.612 MB / 334.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.009642, allocations: 359 kB / 334.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.01001, allocations: 92 kB / 334.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.01016, allocations: 116 kB / 334.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.01026, allocations: 203.2 kB / 334.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.01046, allocations: 319.2 kB / 335.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.01122, allocations: 1.083 MB / 336.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01122, allocations: 0 / 336.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01122, allocations: 0 / 336.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.01123, allocations: 4 kB / 336.3 MB, free: 4.879 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001429/0.01266, allocations: 1.202 MB / 337.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.0127, allocations: 12.03 kB / 337.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01282, allocations: 96.33 kB / 337.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.01336, allocations: 425.3 kB / 338.1 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.01339, allocations: 49.69 kB / 338.1 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.01346, allocations: 64.38 kB / 338.2 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.01431, allocations: 0.7844 MB / 339 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.01433, allocations: 4.141 kB / 339 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.01437, allocations: 28.38 kB / 339 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.01438, allocations: 15.94 kB / 339 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.01533, allocations: 0.6922 MB / 339.7 MB, free: 1.402 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.002292/0.01762, allocations: 1.805 MB / 341.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.01876, allocations: 0.5592 MB / 342.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.01915, allocations: 310.1 kB / 342.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.01919, allocations: 12.48 kB / 342.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.01977, allocations: 0.5419 MB / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.295e-06/0.01978, allocations: 0 / 342.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03351/0.05328, allocations: 15.24 MB / 358.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.05339, allocations: 153.4 kB / 358.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.05395, allocations: 0.5184 MB / 358.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.05412, allocations: 45.7 kB / 358.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.05435, allocations: 392.7 kB / 359.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.05457, allocations: 325.2 kB / 359.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.05482, allocations: 190.5 kB / 359.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.05498, allocations: 382.8 kB / 360.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.05618, allocations: 0.7785 MB / 360.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.05744, allocations: 1.084 MB / 362 MB, free: 10.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.0601, allocations: 1.701 MB / 363.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.0601, allocations: 0 / 363.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01105/0.07115, allocations: 5.401 MB / 369.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.07123, allocations: 71.39 kB / 369.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.07124, allocations: 4 kB / 369.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/0.08685, allocations: 6.82 MB / 376 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.0873, allocations: 155.7 kB / 376.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.09125, allocations: 3.02 MB / 379.2 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.09217, allocations: 175.9 kB / 379.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.09225, allocations: 47.97 kB / 379.4 MB, free: 9.09 MB / 346.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.0003893/0.09264, allocations: 225.7 kB / 379.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.09274, allocations: 91.41 kB / 379.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.103, allocations: 5.06 MB / 384.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.1031, allocations: 11.98 kB / 384.8 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1031, allocations: 0 / 384.8 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.1031, allocations: 3.984 kB / 384.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1044, allocations: 0.7621 MB / 385.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1044, allocations: 3.984 kB / 385.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1047, allocations: 99.81 kB / 385.6 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/0.1199, allocations: 6.782 MB / 392.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.1201, allocations: 27.97 kB / 392.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.1234, allocations: 3.014 MB / 395.4 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1234, allocations: 3.938 kB / 395.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.1353, allocations: 5.952 MB / 401.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.1356, allocations: 71.5 kB / 401.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.1357, allocations: 16 kB / 401.5 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.1363, allocations: 171.8 kB / 401.7 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.1365, allocations: 100.8 kB / 401.8 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.1366, allocations: 35.91 kB / 401.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1369, allocations: 354.8 kB / 402.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1369, allocations: 0 / 402.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.1374, allocations: 263.9 kB / 402.4 MB, free: 1.906 MB / 362.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.0002172/0.1376, allocations: 135.1 kB / 402.5 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.1409, allocations: 2.032 MB / 404.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1409, allocations: 0 / 404.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.1426, allocations: 1.007 MB / 405.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1432, allocations: 129 kB / 405.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1458, allocations: 1.795 MB / 407.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.146, allocations: 353.7 kB / 407.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1462, allocations: 44.5 kB / 407.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1462, allocations: 0 / 407.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01481/0.161, allocations: 17.76 MB / 425.6 MB, free: 10.58 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.973335578106344]