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.001754/0.001754, allocations: 102 kB / 21.93 MB, free: 5.203 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.001856/0.001856, allocations: 202.2 kB / 25.22 MB, free: 3.145 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.881/1.881, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.00213/0.00213, allocations: 59.92 kB / 348.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00575/0.3132, allocations: 4.187 MB / 401.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3162, allocations: 1.242 MB / 403 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.3166, allocations: 14.44 kB / 403.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.3169, allocations: 110.6 kB / 403.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.3174, allocations: 256.6 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.3183, allocations: 302.8 kB / 403.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3194, allocations: 1.044 MB / 404.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.3198, allocations: 183.6 kB / 404.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.3204, allocations: 420.3 kB / 405.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.321, allocations: 409.9 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.3211, allocations: 88.09 kB / 405.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.3214, allocations: 108.5 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.3216, allocations: 205.2 kB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.322, allocations: 368.6 kB / 406.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3233, allocations: 1.004 MB / 407.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3233, allocations: 4 kB / 407.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3233, allocations: 0 / 407.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3233, allocations: 0 / 407.5 MB, free: 3.523 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.002568/0.3259, allocations: 1.167 MB / 408.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.326, allocations: 14.33 kB / 408.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.3261, allocations: 88.42 kB / 408.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.327, allocations: 403 kB / 409.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.327, allocations: 50.69 kB / 409.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3271, allocations: 62.88 kB / 409.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.3286, allocations: 0.7707 MB / 410 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.3286, allocations: 0 / 410 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.3287, allocations: 29.06 kB / 410.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.3287, allocations: 18.95 kB / 410.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3304, allocations: 0.67 MB / 410.8 MB, free: 1.586 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.003329/0.3337, allocations: 1.75 MB / 412.5 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3351, allocations: 0.5516 MB / 413.1 MB, free: 0 / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000837/0.3359, allocations: 314.8 kB / 413.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.336, allocations: 6.594 kB / 413.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.3371, allocations: 0.5435 MB / 413.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.783e-06/0.3371, allocations: 0 / 413.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07137/0.4085, allocations: 15.24 MB / 429.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4086, allocations: 141.5 kB / 429.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.4094, allocations: 0.4948 MB / 429.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.4097, allocations: 41.7 kB / 429.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.4101, allocations: 368.8 kB / 430.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.4105, allocations: 329.2 kB / 430.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.4109, allocations: 178.6 kB / 430.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.4111, allocations: 382.8 kB / 431.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.4133, allocations: 0.7704 MB / 431.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.4158, allocations: 1.064 MB / 432.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.4202, allocations: 1.658 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4202, allocations: 4 kB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0241/0.4443, allocations: 5.374 MB / 439.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4445, allocations: 63.41 kB / 440 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.4445, allocations: 8 kB / 440 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03496/0.4794, allocations: 6.825 MB / 446.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.4802, allocations: 143.7 kB / 447 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/0.4872, allocations: 3.013 MB / 450 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.4889, allocations: 179.8 kB / 450.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.4891, allocations: 47.92 kB / 450.2 MB, free: 13.9 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.0005847/0.4897, allocations: 217.7 kB / 450.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4898, allocations: 87.47 kB / 450.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02287/0.5127, allocations: 5.064 MB / 455.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.5127, allocations: 12 kB / 455.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5127, allocations: 0 / 455.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.5128, allocations: 3.984 kB / 455.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.5143, allocations: 0.7566 MB / 456.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5144, allocations: 0 / 456.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.5149, allocations: 95.88 kB / 456.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0353/0.5502, allocations: 6.77 MB / 463.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003385/0.5505, allocations: 35.84 kB / 463.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/0.5573, allocations: 3.026 MB / 466.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5574, allocations: 7.938 kB / 466.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/0.5831, allocations: 5.948 MB / 472.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.5834, allocations: 67.55 kB / 472.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5835, allocations: 20 kB / 472.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.585, allocations: 167.8 kB / 472.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.5853, allocations: 96.83 kB / 472.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5854, allocations: 35.92 kB / 472.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.5858, allocations: 334.9 kB / 472.9 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5858, allocations: 0 / 472.9 MB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000786/0.5866, allocations: 248 kB / 473.2 MB, free: 6.781 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.0002794/0.5869, allocations: 131.2 kB / 473.3 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006462/0.5933, allocations: 2.016 MB / 475.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5933, allocations: 320 / 475.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.597, allocations: 1.015 MB / 476.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.5978, allocations: 134.4 kB / 476.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.6019, allocations: 1.785 MB / 478.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6023, allocations: 348.9 kB / 478.6 MB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.6025, allocations: 35.44 kB / 478.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6025, allocations: 0 / 478.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of Templates: time 0.02646/0.6289, allocations: 17.19 MB / 495.8 MB, free: 16 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/jenkins1/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/jenkins1/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: 9.515928741078824]