Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.81 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006554/0.2985, allocations: 5 MB / 437.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.3012, allocations: 1.283 MB / 438.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.3017, allocations: 19.88 kB / 438.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.302, allocations: 126.7 kB / 438.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.3026, allocations: 269.6 kB / 438.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.3034, allocations: 307.4 kB / 439.1 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.3047, allocations: 1.091 MB / 440.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.3051, allocations: 186.5 kB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.3057, allocations: 422.5 kB / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.3063, allocations: 482 kB / 441.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3065, allocations: 92 kB / 441.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3067, allocations: 116 kB / 441.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.3069, allocations: 203.2 kB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.3074, allocations: 449.8 kB / 442.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3087, allocations: 1.036 MB / 443.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3087, allocations: 0 / 443.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3087, allocations: 0 / 443.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.3087, allocations: 0 / 443.1 MB, free: 12.3 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.002856/0.3115, allocations: 1.289 MB / 444.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3116, allocations: 8.031 kB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.3118, allocations: 108.3 kB / 444.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.3126, allocations: 483.9 kB / 445 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.3126, allocations: 49.69 kB / 445 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.3128, allocations: 68.33 kB / 445.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3142, allocations: 0.6587 MB / 445.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3142, allocations: 0 / 445.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.3143, allocations: 31.98 kB / 445.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3143, allocations: 12 kB / 445.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3161, allocations: 0.6961 MB / 446.5 MB, free: 8.793 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.004385/0.3205, allocations: 2.379 MB / 448.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.322, allocations: 0.552 MB / 449.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.3228, allocations: 306 kB / 449.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.3228, allocations: 12.38 kB / 449.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3238, allocations: 425.4 kB / 450.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/0.3239, allocations: 0 / 450.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06984/0.3937, allocations: 15.39 MB / 465.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.3938, allocations: 145.5 kB / 465.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.3946, allocations: 0.5263 MB / 466.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.3948, allocations: 45.7 kB / 466.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.3951, allocations: 392.7 kB / 466.6 MB, free: 4.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.3954, allocations: 329.2 kB / 466.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.3958, allocations: 182.6 kB / 467.1 MB, free: 3.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.396, allocations: 390.7 kB / 467.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.3981, allocations: 0.7244 MB / 468.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4005, allocations: 0.9551 MB / 469.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/0.4047, allocations: 1.693 MB / 470.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4048, allocations: 8 kB / 470.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02324/0.428, allocations: 5.343 MB / 476.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.4281, allocations: 63.39 kB / 476.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.4281, allocations: 12.12 kB / 476.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03353/0.4616, allocations: 6.824 MB / 483.1 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.4624, allocations: 147.7 kB / 483.3 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.4689, allocations: 3.013 MB / 486.3 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4708, allocations: 183.8 kB / 486.5 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.471, allocations: 47.97 kB / 486.5 MB, free: 116 kB / 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.0006223/0.4716, allocations: 233.7 kB / 486.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.4718, allocations: 83.48 kB / 486.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/0.4944, allocations: 5.064 MB / 491.9 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4944, allocations: 8 kB / 491.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.4944, allocations: 0 / 491.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.4944, allocations: 7.969 kB / 491.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.4962, allocations: 1.104 MB / 493 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4962, allocations: 0 / 493 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.4967, allocations: 91.89 kB / 493.1 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03363/0.5304, allocations: 6.785 MB / 499.9 MB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002352/0.5306, allocations: 19.98 kB / 499.9 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.5368, allocations: 3.041 MB / 0.4911 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5368, allocations: 0 / 0.4911 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0241/0.5609, allocations: 5.944 MB / 0.497 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.5611, allocations: 156.5 kB / 0.4971 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.5613, allocations: 20 kB / 0.4971 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5627, allocations: 167.8 kB / 0.4973 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.5629, allocations: 96.88 kB / 0.4974 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.563, allocations: 35.97 kB / 0.4974 GB, free: 9.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.5635, allocations: 350.9 kB / 0.4977 GB, free: 8.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5635, allocations: 4 kB / 0.4977 GB, free: 8.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007713/0.5642, allocations: 267.9 kB / 0.498 GB, free: 8.465 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.0002955/0.5645, allocations: 127.7 kB / 0.4981 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.5707, allocations: 1.97 MB / 0.5 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5707, allocations: 8 kB / 0.5001 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003582/0.5743, allocations: 1.003 MB / 0.501 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.5751, allocations: 134.4 kB / 0.5012 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.5792, allocations: 1.85 MB / 0.503 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.5798, allocations: 0.9545 MB / 0.5039 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.58, allocations: 43.38 kB / 0.5039 GB, free: 2.285 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.58, allocations: 0 / 0.5039 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Templates: time 0.02482/0.6048, allocations: 17.47 MB / 0.521 GB, free: 0.8438 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.325098052620888]