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.0018/0.0018, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002016/0.002016, allocations: 208.1 kB / 23.74 MB, free: 4.691 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001686/0.001686, allocations: 51.89 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3027, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006576/0.3093, allocations: 4.997 MB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3121, allocations: 1.291 MB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.3125, allocations: 15.94 kB / 438 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.3129, allocations: 126.7 kB / 438.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.3135, allocations: 257.7 kB / 438.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.3143, allocations: 315.5 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.3157, allocations: 1.095 MB / 439.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.3161, allocations: 189.5 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.3167, allocations: 430.5 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.3174, allocations: 478 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3175, allocations: 92 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3178, allocations: 116 kB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.318, allocations: 199.3 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.3184, allocations: 465.7 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3197, allocations: 1.031 MB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3197, allocations: 0 / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3197, allocations: 0 / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3197, allocations: 0 / 442.7 MB, free: 11.84 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.002851/0.3226, allocations: 1.209 MB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3226, allocations: 8.031 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.3228, allocations: 104.3 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.3236, allocations: 430.1 kB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.3237, allocations: 45.69 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.3238, allocations: 68.33 kB / 444.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3252, allocations: 0.6587 MB / 445.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.3253, allocations: 7.938 kB / 445.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.3253, allocations: 24 kB / 445.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3253, allocations: 16 kB / 445.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.327, allocations: 0.7 MB / 445.9 MB, free: 8.508 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.004381/0.3314, allocations: 2.304 MB / 448.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3328, allocations: 0.5539 MB / 448.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.3336, allocations: 314 kB / 449.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/0.3336, allocations: 8.422 kB / 449.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.3346, allocations: 429.4 kB / 449.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.765e-06/0.3346, allocations: 0 / 449.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07411/0.4087, allocations: 15.24 MB / 464.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.4089, allocations: 149.4 kB / 464.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.4098, allocations: 0.5225 MB / 465.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.41, allocations: 41.7 kB / 465.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.4103, allocations: 400.7 kB / 465.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4107, allocations: 329.2 kB / 466.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.4111, allocations: 186.6 kB / 466.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.4113, allocations: 390.7 kB / 466.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.4134, allocations: 0.7205 MB / 467.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.4157, allocations: 0.9668 MB / 468.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/0.4201, allocations: 1.685 MB / 470.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4201, allocations: 4 kB / 470.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02504/0.4451, allocations: 5.331 MB / 475.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4452, allocations: 67.39 kB / 475.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.4452, allocations: 8 kB / 475.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03671/0.4819, allocations: 6.829 MB / 482.4 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.4827, allocations: 151.7 kB / 482.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/0.4902, allocations: 3.017 MB / 485.5 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4921, allocations: 180.1 kB / 485.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4923, allocations: 47.97 kB / 485.8 MB, free: 80 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.0005342/0.4928, allocations: 237.8 kB / 486 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.493, allocations: 87.48 kB / 486.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/0.5175, allocations: 5.06 MB / 491.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.5175, allocations: 8 kB / 491.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5175, allocations: 0 / 491.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.5176, allocations: 7.969 kB / 491.1 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.5192, allocations: 1.076 MB / 492.2 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5193, allocations: 0 / 492.2 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.5198, allocations: 95.81 kB / 492.3 MB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03635/0.5562, allocations: 6.781 MB / 499.1 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.5564, allocations: 23.98 kB / 499.1 MB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.5626, allocations: 3.033 MB / 0.4904 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5626, allocations: 4 kB / 0.4904 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02583/0.5884, allocations: 5.941 MB / 0.4962 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.5887, allocations: 79.36 kB / 0.4963 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5889, allocations: 20.06 kB / 0.4963 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.5903, allocations: 172 kB / 0.4965 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.5906, allocations: 100.8 kB / 0.4965 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.5907, allocations: 31.98 kB / 0.4966 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005415/0.5912, allocations: 354.8 kB / 0.4969 GB, free: 8.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5912, allocations: 0 / 0.4969 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008741/0.5921, allocations: 260 kB / 0.4972 GB, free: 8.566 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.0003094/0.5924, allocations: 140.9 kB / 0.4973 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00644/0.5988, allocations: 1.969 MB / 0.4992 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5988, allocations: 1.375 kB / 0.4992 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00366/0.6025, allocations: 1.007 MB / 0.5002 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.6033, allocations: 138 kB / 0.5003 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.6074, allocations: 1.806 MB / 0.5021 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.608, allocations: 0.9468 MB / 0.503 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.6083, allocations: 62.27 kB / 0.5031 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.6084, allocations: 35.44 kB / 0.5031 GB, free: 2.383 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6084, allocations: 0 / 0.5031 GB, free: 2.383 MB / 414.1 MB Notification: Performance of Templates: time 0.04345/0.6519, allocations: 24.1 MB / 0.5267 GB, free: 10.37 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.285608819918707]