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.001719/0.001719, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002049/0.002049, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001637/0.001637, allocations: 43.94 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2862, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006834/0.293, allocations: 4.406 MB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.2958, allocations: 1.264 MB / 437.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.2962, allocations: 11.94 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.2966, allocations: 122.7 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.2971, allocations: 261.6 kB / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.2978, allocations: 315.5 kB / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2989, allocations: 1.091 MB / 439.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.2993, allocations: 193.5 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.2998, allocations: 434.5 kB / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.3004, allocations: 482 kB / 440.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.3005, allocations: 92 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.3008, allocations: 116 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3009, allocations: 195.3 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.3014, allocations: 386.2 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3026, allocations: 1.039 MB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3027, allocations: 0 / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3027, allocations: 0 / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3027, allocations: 4 kB / 442 MB, free: 12.31 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.002926/0.3056, allocations: 1.213 MB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3056, allocations: 12.03 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.3058, allocations: 96.33 kB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.3066, allocations: 426.1 kB / 443.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.3067, allocations: 49.69 kB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3068, allocations: 72.33 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.3085, allocations: 0.7803 MB / 444.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3085, allocations: 0 / 444.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.3086, allocations: 28 kB / 444.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3086, allocations: 12 kB / 444.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.3104, allocations: 0.6961 MB / 445.3 MB, free: 8.832 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.004034/0.3144, allocations: 1.8 MB / 447.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.3159, allocations: 0.5578 MB / 447.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.3167, allocations: 309.9 kB / 448 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3168, allocations: 12.42 kB / 448 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.3179, allocations: 0.541 MB / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.364e-06/0.3179, allocations: 3.938 kB / 448.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07726/0.3951, allocations: 15.25 MB / 463.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.3953, allocations: 141.5 kB / 463.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.3961, allocations: 0.5223 MB / 464.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.3963, allocations: 41.7 kB / 464.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.3967, allocations: 400.7 kB / 464.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.397, allocations: 325.2 kB / 465.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.3974, allocations: 186.5 kB / 465.4 MB, free: 4.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3977, allocations: 386.8 kB / 465.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.3997, allocations: 0.7785 MB / 466.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.4021, allocations: 1.092 MB / 467.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.4063, allocations: 1.697 MB / 469.3 MB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.4063, allocations: 7.938 kB / 469.3 MB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02542/0.4317, allocations: 5.397 MB / 474.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.4318, allocations: 75.27 kB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.4318, allocations: 8 kB / 474.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03832/0.4701, allocations: 6.821 MB / 481.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.4709, allocations: 147.7 kB / 481.8 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/0.4776, allocations: 3.017 MB / 484.8 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.4795, allocations: 179.9 kB / 485 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.4796, allocations: 48.22 kB / 485 MB, free: 0.5039 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.0005053/0.4801, allocations: 225.6 kB / 485.2 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.4803, allocations: 79.48 kB / 485.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/0.5053, allocations: 5.079 MB / 490.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.5053, allocations: 8 kB / 490.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5053, allocations: 4 kB / 490.4 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.5054, allocations: 7.969 kB / 490.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.5068, allocations: 0.7607 MB / 491.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.5068, allocations: 0 / 491.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.5074, allocations: 91.88 kB / 491.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03792/0.5453, allocations: 6.773 MB / 498 MB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/0.5456, allocations: 27.97 kB / 498.1 MB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006306/0.5519, allocations: 3.029 MB / 0.4894 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5519, allocations: 0 / 0.4894 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02745/0.5794, allocations: 5.956 MB / 0.4952 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.5797, allocations: 71.5 kB / 0.4952 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.5799, allocations: 19.94 kB / 0.4953 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.5814, allocations: 171.8 kB / 0.4954 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.5816, allocations: 100.8 kB / 0.4955 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.5817, allocations: 28.22 kB / 0.4955 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004648/0.5822, allocations: 346.9 kB / 0.4959 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5822, allocations: 4 kB / 0.4959 GB, free: 9.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008383/0.583, allocations: 271.9 kB / 0.4961 GB, free: 9.32 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.000283/0.5833, allocations: 135.2 kB / 0.4963 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006298/0.5896, allocations: 2.024 MB / 0.4982 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5896, allocations: 0 / 0.4982 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003737/0.5934, allocations: 1.015 MB / 0.4992 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008323/0.5942, allocations: 122.2 kB / 0.4994 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.5981, allocations: 1.818 MB / 0.5011 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5985, allocations: 361.6 kB / 0.5015 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.5987, allocations: 54.22 kB / 0.5015 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5989, allocations: 39.44 kB / 0.5016 GB, free: 3.66 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5989, allocations: 0 / 0.5016 GB, free: 3.66 MB / 414.1 MB Notification: Performance of Templates: time 0.03385/0.6327, allocations: 20.27 MB / 0.5214 GB, free: 15.52 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.019348757807165]