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.0016/0.0016, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001684/0.001684, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.463/1.463, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001614/0.001614, allocations: 48.06 kB / 371.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2634, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006465/0.2698, allocations: 4.391 MB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2725, allocations: 1.245 MB / 429.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.2729, allocations: 11.94 kB / 429.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.2732, allocations: 126.7 kB / 429.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.2738, allocations: 257.7 kB / 429.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.2745, allocations: 311.5 kB / 430.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2757, allocations: 1.099 MB / 431.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.2761, allocations: 175 kB / 431.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.2766, allocations: 438.5 kB / 431.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.2772, allocations: 414.1 kB / 432.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2774, allocations: 92 kB / 432.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.2776, allocations: 115.9 kB / 432.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.2778, allocations: 199.3 kB / 432.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.2782, allocations: 386.2 kB / 433 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2794, allocations: 1.048 MB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2794, allocations: 0 / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2794, allocations: 0 / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2794, allocations: 4 kB / 434.1 MB, free: 4.168 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.002867/0.2823, allocations: 1.206 MB / 435.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2823, allocations: 8.031 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.2825, allocations: 96.38 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.2834, allocations: 434 kB / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.2834, allocations: 49.69 kB / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.2835, allocations: 60.38 kB / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.2852, allocations: 0.7842 MB / 436.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2852, allocations: 3.938 kB / 436.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.2853, allocations: 24 kB / 436.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.2853, allocations: 16 kB / 436.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.287, allocations: 0.6922 MB / 437.5 MB, free: 0.6953 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.004083/0.2911, allocations: 1.82 MB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.2926, allocations: 0.5592 MB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007594/0.2934, allocations: 302 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.2935, allocations: 12.44 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2945, allocations: 0.5332 MB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.505e-06/0.2945, allocations: 0 / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07127/0.3658, allocations: 15.24 MB / 455.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.3659, allocations: 145.5 kB / 456.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.3667, allocations: 0.5223 MB / 456.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.3669, allocations: 41.7 kB / 456.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.3672, allocations: 404.6 kB / 457 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.3676, allocations: 325.2 kB / 457.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.3679, allocations: 182.6 kB / 457.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3681, allocations: 382.8 kB / 457.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.3704, allocations: 0.7863 MB / 458.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.3729, allocations: 1.081 MB / 459.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.3773, allocations: 1.697 MB / 461.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3773, allocations: 7.938 kB / 461.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02417/0.4014, allocations: 5.39 MB / 466.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/0.4015, allocations: 67.39 kB / 466.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4016, allocations: 8 kB / 466.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03499/0.4366, allocations: 6.825 MB / 473.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.4373, allocations: 147.7 kB / 473.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.4439, allocations: 3.024 MB / 476.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4457, allocations: 179.9 kB / 477.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.4458, allocations: 52.22 kB / 477.1 MB, free: 8.383 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.0005106/0.4464, allocations: 229.5 kB / 477.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4466, allocations: 79.48 kB / 477.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/0.4695, allocations: 5.068 MB / 482.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.4695, allocations: 8 kB / 482.5 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4695, allocations: 4 kB / 482.5 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.4695, allocations: 3.984 kB / 482.5 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4712, allocations: 0.7649 MB / 483.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.4712, allocations: 0 / 483.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.4718, allocations: 103.8 kB / 483.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0349/0.5067, allocations: 6.778 MB / 490.2 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.5069, allocations: 23.98 kB / 490.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.5134, allocations: 3.032 MB / 493.2 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5134, allocations: 4 kB / 493.2 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02583/0.5393, allocations: 5.948 MB / 499.2 MB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.5396, allocations: 67.52 kB / 499.2 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.5399, allocations: 27.92 kB / 499.3 MB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.5416, allocations: 159.9 kB / 499.4 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.542, allocations: 108.9 kB / 499.5 MB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5421, allocations: 32.22 kB / 499.6 MB, free: 1.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004857/0.5426, allocations: 350.8 kB / 499.9 MB, free: 1.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5426, allocations: 0 / 499.9 MB, free: 1.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009434/0.5435, allocations: 259.9 kB / 0.4884 GB, free: 1.199 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.0003348/0.5438, allocations: 143.2 kB / 0.4886 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006698/0.5505, allocations: 2.019 MB / 0.4906 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5506, allocations: 5.375 kB / 0.4906 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003882/0.5544, allocations: 1.003 MB / 0.4915 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.5553, allocations: 130.1 kB / 0.4917 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.5596, allocations: 1.843 MB / 0.4935 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.56, allocations: 349.7 kB / 0.4938 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5602, allocations: 43.42 kB / 0.4938 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5602, allocations: 0 / 0.4938 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02741/0.5876, allocations: 17.75 MB / 0.5112 GB, free: 9.832 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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: 8.398192090913653]