Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001994/0.001994, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002075/0.002075, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 55.92 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3477, allocations: 49.14 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005938/0.3536, allocations: 4.186 MB / 401 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.3567, allocations: 1.243 MB / 402.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004409/0.3571, allocations: 10.03 kB / 402.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3574, allocations: 109.7 kB / 402.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.358, allocations: 260.5 kB / 402.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.3588, allocations: 303.6 kB / 403 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.3599, allocations: 1.047 MB / 404 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.3602, allocations: 183.5 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.3608, allocations: 417 kB / 404.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.3613, allocations: 413.5 kB / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3614, allocations: 88.47 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.3617, allocations: 113.5 kB / 405.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3618, allocations: 193.3 kB / 405.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.3622, allocations: 367.5 kB / 405.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.3633, allocations: 1.01 MB / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3633, allocations: 0.5156 kB / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3633, allocations: 1.375 kB / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3633, allocations: 0 / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002415/0.3657, allocations: 1.163 MB / 407.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3658, allocations: 13.05 kB / 407.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.366, allocations: 93.61 kB / 408 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.3666, allocations: 406.7 kB / 408.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.3667, allocations: 48.16 kB / 408.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.3668, allocations: 60.7 kB / 408.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3681, allocations: 0.7751 MB / 409.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3681, allocations: 1.281 kB / 409.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3682, allocations: 21.47 kB / 409.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3682, allocations: 14.25 kB / 409.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.3698, allocations: 0.678 MB / 410 MB, free: 1.57 MB / 318.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.003163/0.3729, allocations: 1.75 MB / 411.8 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3743, allocations: 0.5555 MB / 412.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/0.3751, allocations: 311.7 kB / 412.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.3751, allocations: 6.781 kB / 412.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.3762, allocations: 0.5475 MB / 413.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.766e-06/0.3762, allocations: 0 / 413.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06937/0.4456, allocations: 15.24 MB / 428.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4457, allocations: 149.5 kB / 428.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.4464, allocations: 494.7 kB / 429 MB, free: 2.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.4466, allocations: 45.7 kB / 429.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.447, allocations: 376.8 kB / 429.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.4473, allocations: 321.2 kB / 429.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.4477, allocations: 178.6 kB / 429.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4479, allocations: 382.8 kB / 430.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.45, allocations: 0.7743 MB / 431.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.4523, allocations: 1.06 MB / 432.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/0.4566, allocations: 1.666 MB / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4567, allocations: 0 / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02407/0.4807, allocations: 5.37 MB / 439.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4808, allocations: 71.33 kB / 439.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.4809, allocations: 4 kB / 439.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03462/0.5155, allocations: 6.828 MB / 446.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.5163, allocations: 139.7 kB / 446.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.5228, allocations: 3.017 MB / 449.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.5246, allocations: 175.9 kB / 449.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.5248, allocations: 43.97 kB / 449.4 MB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.000503/0.5253, allocations: 221.6 kB / 449.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5255, allocations: 79.47 kB / 449.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02257/0.548, allocations: 5.068 MB / 454.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.5481, allocations: 8 kB / 454.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5481, allocations: 0 / 454.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.5481, allocations: 7.922 kB / 454.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5498, allocations: 0.7605 MB / 455.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5499, allocations: 4 kB / 455.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.5504, allocations: 87.88 kB / 455.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03448/0.5849, allocations: 6.777 MB / 462.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/0.5852, allocations: 23.92 kB / 462.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.5922, allocations: 3.033 MB / 465.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5922, allocations: 3.938 kB / 465.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/0.618, allocations: 5.948 MB / 471.5 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.6183, allocations: 63.56 kB / 471.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.6186, allocations: 19.98 kB / 471.5 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.6202, allocations: 167.9 kB / 471.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.6206, allocations: 100.8 kB / 471.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.6207, allocations: 43.91 kB / 471.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.6211, allocations: 326.9 kB / 472.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6211, allocations: 0 / 472.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009928/0.6221, allocations: 252 kB / 472.4 MB, free: 6.758 MB / 382.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.0003301/0.6225, allocations: 132.4 kB / 472.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006488/0.629, allocations: 2.016 MB / 474.6 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.629, allocations: 0 / 474.6 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.6327, allocations: 1.015 MB / 475.6 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.6336, allocations: 130.4 kB / 475.7 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.6378, allocations: 1.76 MB / 477.5 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.6382, allocations: 344.9 kB / 477.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.6385, allocations: 49.98 kB / 477.8 MB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.6386, allocations: 31.44 kB / 477.9 MB, free: 1.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6386, allocations: 4 kB / 477.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of Templates: time 0.0342/0.6728, allocations: 19.85 MB / 497.7 MB, free: 13.24 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.228752331808209]