Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 184.7 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 51.91 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2853, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00691/0.2922, allocations: 4.404 MB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2949, allocations: 1.225 MB / 428.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.2954, allocations: 19.88 kB / 428.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.2957, allocations: 118.7 kB / 428.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.2963, allocations: 261.7 kB / 429.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.2973, allocations: 319.5 kB / 429.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2985, allocations: 1.091 MB / 430.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.2989, allocations: 177.5 kB / 430.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.2995, allocations: 434.5 kB / 431.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.3001, allocations: 429.9 kB / 431.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3003, allocations: 88 kB / 431.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3005, allocations: 120 kB / 431.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.3007, allocations: 203.3 kB / 431.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.3012, allocations: 374.3 kB / 432.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3024, allocations: 1.046 MB / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3024, allocations: 0 / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3024, allocations: 0 / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3024, allocations: 0 / 433.3 MB, free: 4.164 MB / 334.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.002749/0.3052, allocations: 1.213 MB / 434.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3052, allocations: 12.03 kB / 434.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.3054, allocations: 96.36 kB / 434.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.3062, allocations: 426.1 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.3062, allocations: 49.69 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3064, allocations: 68.36 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.3079, allocations: 0.7764 MB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3079, allocations: 3.984 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.308, allocations: 24 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.308, allocations: 16 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3097, allocations: 0.6922 MB / 436.7 MB, free: 0.6875 MB / 334.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.00379/0.3135, allocations: 1.816 MB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.315, allocations: 0.5514 MB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/0.3158, allocations: 310 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.3158, allocations: 8.438 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.3169, allocations: 0.541 MB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.365e-06/0.3169, allocations: 0 / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06921/0.3861, allocations: 15.24 MB / 455.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.3862, allocations: 141.5 kB / 455.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.3869, allocations: 0.5185 MB / 455.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.3871, allocations: 45.7 kB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.3874, allocations: 396.7 kB / 456.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.3878, allocations: 333.2 kB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.3881, allocations: 182.6 kB / 456.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3883, allocations: 390.8 kB / 457.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.3905, allocations: 0.7707 MB / 457.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.3929, allocations: 1.088 MB / 459 MB, free: 9.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.3972, allocations: 1.701 MB / 460.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.3972, allocations: 3.938 kB / 460.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02325/0.4204, allocations: 5.393 MB / 466.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/0.4205, allocations: 67.41 kB / 466.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.4205, allocations: 8 kB / 466.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03358/0.4541, allocations: 6.829 MB / 473 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.4549, allocations: 151.7 kB / 473.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/0.4617, allocations: 3.028 MB / 476.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4635, allocations: 175.8 kB / 476.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.4637, allocations: 43.98 kB / 476.4 MB, free: 8.375 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.0005813/0.4643, allocations: 233.6 kB / 476.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.4645, allocations: 83.48 kB / 476.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/0.4871, allocations: 5.052 MB / 481.7 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.4871, allocations: 19.92 kB / 481.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4871, allocations: 0 / 481.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.4871, allocations: 3.984 kB / 481.8 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4888, allocations: 0.7727 MB / 482.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4889, allocations: 0 / 482.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.4894, allocations: 91.88 kB / 482.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03443/0.5239, allocations: 6.782 MB / 489.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.5241, allocations: 27.97 kB / 489.4 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.5304, allocations: 3.04 MB / 492.5 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5304, allocations: 0 / 492.5 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/0.5556, allocations: 5.948 MB / 498.4 MB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.5559, allocations: 71.5 kB / 498.5 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.5562, allocations: 19.94 kB / 498.5 MB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.5578, allocations: 171.8 kB / 498.7 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.5581, allocations: 96.83 kB / 498.8 MB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5582, allocations: 31.98 kB / 498.8 MB, free: 1.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004836/0.5586, allocations: 350.8 kB / 499.2 MB, free: 1.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5586, allocations: 0 / 499.2 MB, free: 1.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008576/0.5595, allocations: 259.9 kB / 499.4 MB, free: 1.188 MB / 398.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.000272/0.5598, allocations: 134.5 kB / 499.5 MB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.5661, allocations: 2.024 MB / 0.4898 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5661, allocations: 4.188 kB / 0.4898 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/0.5698, allocations: 1.022 MB / 0.4908 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.5706, allocations: 129.7 kB / 0.4909 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.5746, allocations: 1.803 MB / 0.4927 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5749, allocations: 357.7 kB / 0.493 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.5752, allocations: 58.22 kB / 0.4931 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.5753, allocations: 31.44 kB / 0.4931 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5753, allocations: 0 / 0.4931 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.03434/0.6097, allocations: 19.97 MB / 0.5126 GB, free: 7.699 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.92767184600234]