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.001612/0.001612, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001917/0.001917, allocations: 211.2 kB / 24.47 MB, free: 3.977 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 2.071/2.071, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.002436/0.002436, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3756, allocations: 53.38 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007444/0.383, allocations: 4.417 MB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3865, allocations: 1.245 MB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.387, allocations: 15.94 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.3873, allocations: 122.7 kB / 438.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006836/0.388, allocations: 269.6 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.3889, allocations: 311.5 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.3903, allocations: 1.091 MB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.3908, allocations: 198.7 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.3915, allocations: 426.5 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007423/0.3922, allocations: 486 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.3924, allocations: 88 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.3927, allocations: 120 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3929, allocations: 199.3 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.3934, allocations: 374.3 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3948, allocations: 1.046 MB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3948, allocations: 0 / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3948, allocations: 0 / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3948, allocations: 4 kB / 442.7 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.003313/0.3981, allocations: 1.217 MB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3981, allocations: 8.031 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.3984, allocations: 100.3 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.3993, allocations: 422.1 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.3994, allocations: 45.69 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3995, allocations: 72.33 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.4015, allocations: 0.7842 MB / 445.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.4016, allocations: 0 / 445.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.4016, allocations: 28 kB / 445.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.4017, allocations: 16 kB / 445.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4039, allocations: 0.6961 MB / 446.1 MB, free: 8.828 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.004976/0.4089, allocations: 1.8 MB / 447.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.4107, allocations: 0.5553 MB / 448.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009567/0.4116, allocations: 306 kB / 448.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.4117, allocations: 12.38 kB / 448.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.413, allocations: 0.541 MB / 449.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.096e-06/0.413, allocations: 0 / 449.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.1038/0.5168, allocations: 15.25 MB / 464.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.5169, allocations: 141.5 kB / 464.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.5179, allocations: 0.5262 MB / 465.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.5181, allocations: 41.7 kB / 465.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.5186, allocations: 404.6 kB / 465.6 MB, free: 5.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00988/0.5284, allocations: 329.2 kB / 466 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007135/0.5291, allocations: 182.5 kB / 466.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.5294, allocations: 394.7 kB / 466.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.5323, allocations: 0.7746 MB / 467.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.5354, allocations: 1.096 MB / 468.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.5522, allocations: 1.697 MB / 470.1 MB, free: 324 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5522, allocations: 3.938 kB / 470.1 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.06531/0.6175, allocations: 5.397 MB / 475.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.6176, allocations: 63.41 kB / 475.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.6177, allocations: 8 kB / 475.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04696/0.6646, allocations: 6.829 MB / 482.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/0.6655, allocations: 147.7 kB / 482.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007988/0.6735, allocations: 3.013 MB / 485.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.6763, allocations: 183.8 kB / 485.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.6765, allocations: 47.97 kB / 485.8 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.0005248/0.677, allocations: 225.6 kB / 486 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.6772, allocations: 83.53 kB / 486.1 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03054/0.7078, allocations: 5.076 MB / 491.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.7078, allocations: 12 kB / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7078, allocations: 0 / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.7078, allocations: 3.984 kB / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.7095, allocations: 0.7685 MB / 491.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7095, allocations: 0 / 491.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.7102, allocations: 95.88 kB / 492 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05306/0.7633, allocations: 6.77 MB / 498.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.7635, allocations: 27.97 kB / 498.8 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007926/0.7715, allocations: 3.029 MB / 0.4901 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7715, allocations: 4 kB / 0.4901 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03301/0.8045, allocations: 5.952 MB / 0.4959 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.8048, allocations: 71.5 kB / 0.496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.805, allocations: 23.94 kB / 0.496 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.8069, allocations: 171.8 kB / 0.4962 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/0.8074, allocations: 100.8 kB / 0.4963 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.8075, allocations: 31.97 kB / 0.4963 GB, free: 9.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005482/0.808, allocations: 346.9 kB / 0.4966 GB, free: 9.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.808, allocations: 0 / 0.4966 GB, free: 9.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001086/0.8091, allocations: 263.9 kB / 0.4969 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.0004257/0.8096, allocations: 131.1 kB / 0.497 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008179/0.8177, allocations: 2.017 MB / 0.499 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.8177, allocations: 7.938 kB / 0.499 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004893/0.8226, allocations: 1.011 MB / 0.5 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.8238, allocations: 130.4 kB / 0.5001 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.8296, allocations: 1.823 MB / 0.5019 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.8301, allocations: 357.7 kB / 0.5022 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.8305, allocations: 54.22 kB / 0.5023 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.8307, allocations: 39.44 kB / 0.5023 GB, free: 3.668 MB / 414.1 MB Notification: Performance of SimCode: time 2.264e-06/0.8307, allocations: 0 / 0.5023 GB, free: 3.668 MB / 414.1 MB Notification: Performance of Templates: time 0.04264/0.8733, allocations: 20.28 MB / 0.5221 GB, free: 15.51 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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: 8.410865441997885]