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.001932/0.001932, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00197/0.00197, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.658/1.658, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002097/0.002097, allocations: 52.06 kB / 378.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2749, allocations: 53.36 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006215/0.2811, allocations: 4.432 MB / 436 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2838, allocations: 1.241 MB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.2844, allocations: 15.94 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.2848, allocations: 122.7 kB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.2856, allocations: 265.7 kB / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.2864, allocations: 315.5 kB / 438 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.2877, allocations: 1.091 MB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.2881, allocations: 175 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.2885, allocations: 430.5 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.2891, allocations: 426 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2892, allocations: 88 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.2895, allocations: 120 kB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.2896, allocations: 203.3 kB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.29, allocations: 374.3 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.2911, allocations: 1.052 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2911, allocations: 0 / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2911, allocations: 0 / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2912, allocations: 0 / 441.9 MB, free: 12.41 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.002654/0.2938, allocations: 1.213 MB / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2938, allocations: 8.031 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.294, allocations: 100.3 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.2949, allocations: 434 kB / 443.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.2949, allocations: 45.69 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2951, allocations: 68.33 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.2967, allocations: 0.7803 MB / 444.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2967, allocations: 4 kB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.2968, allocations: 24 kB / 444.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.2968, allocations: 16 kB / 444.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.2985, allocations: 0.6961 MB / 445.3 MB, free: 8.926 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.003942/0.3025, allocations: 1.796 MB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3039, allocations: 0.5617 MB / 447.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.3047, allocations: 314 kB / 447.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.3047, allocations: 4.438 kB / 447.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.3058, allocations: 0.5448 MB / 448.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.344e-06/0.3058, allocations: 0 / 448.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07097/0.3767, allocations: 15.25 MB / 463.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3769, allocations: 137.5 kB / 463.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.3777, allocations: 0.5223 MB / 464.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.3779, allocations: 45.7 kB / 464.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.3783, allocations: 396.7 kB / 464.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/0.3788, allocations: 333.2 kB / 465.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.3792, allocations: 190.5 kB / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3794, allocations: 386.8 kB / 465.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.3817, allocations: 0.7746 MB / 466.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.3841, allocations: 1.096 MB / 467.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.3884, allocations: 1.693 MB / 469.3 MB, free: 428 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3884, allocations: 3.938 kB / 469.3 MB, free: 424 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02391/0.4123, allocations: 5.393 MB / 474.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/0.4124, allocations: 67.41 kB / 474.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.4124, allocations: 7.984 kB / 474.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03708/0.4495, allocations: 6.837 MB / 481.6 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.4503, allocations: 147.7 kB / 481.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.4572, allocations: 3.021 MB / 484.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.4589, allocations: 179.8 kB / 484.9 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4591, allocations: 47.97 kB / 485 MB, free: 0.5977 MB / 382.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.0005868/0.4597, allocations: 225.6 kB / 485.2 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.46, allocations: 83.48 kB / 485.3 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02252/0.4825, allocations: 5.064 MB / 490.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.4825, allocations: 8 kB / 490.3 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.4825, allocations: 3.938 kB / 490.3 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.4825, allocations: 3.984 kB / 490.3 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.4841, allocations: 0.7724 MB / 491.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4841, allocations: 4 kB / 491.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.4847, allocations: 87.88 kB / 491.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03413/0.5188, allocations: 6.773 MB / 498 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.5191, allocations: 23.97 kB / 498 MB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006428/0.5255, allocations: 3.041 MB / 0.4893 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5255, allocations: 0 / 0.4893 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02484/0.5504, allocations: 5.952 MB / 0.4951 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.5506, allocations: 71.47 kB / 0.4952 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.5508, allocations: 20.06 kB / 0.4952 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5523, allocations: 175.8 kB / 0.4954 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.5526, allocations: 104.8 kB / 0.4955 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5527, allocations: 31.97 kB / 0.4955 GB, free: 10 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004532/0.5532, allocations: 346.9 kB / 0.4958 GB, free: 9.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5532, allocations: 0 / 0.4958 GB, free: 9.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.554, allocations: 263.9 kB / 0.4961 GB, free: 9.41 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.0002932/0.5543, allocations: 127.2 kB / 0.4962 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006334/0.5606, allocations: 2.028 MB / 0.4982 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5606, allocations: 0 / 0.4982 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.5643, allocations: 1.012 MB / 0.4992 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.565, allocations: 126.2 kB / 0.4993 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.5689, allocations: 1.811 MB / 0.5011 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5693, allocations: 357.7 kB / 0.5014 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5695, allocations: 58.22 kB / 0.5015 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5697, allocations: 35.44 kB / 0.5015 GB, free: 3.766 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5697, allocations: 0 / 0.5015 GB, free: 3.766 MB / 414.1 MB Notification: Performance of Templates: time 0.03305/0.6027, allocations: 20.02 MB / 0.521 GB, free: 15.88 MB / 446.1 MB " [Timeout remaining time 659] 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: 6.004794515669346]