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.001899/0.001899, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002256/0.002256, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.001582/0.001582, allocations: 47.94 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005974/0.247, allocations: 4.409 MB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.2496, allocations: 1.248 MB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.25, allocations: 11.94 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.2503, allocations: 126.7 kB / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.2508, allocations: 265.6 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.2515, allocations: 311.5 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2527, allocations: 1.103 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.253, allocations: 186 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.2536, allocations: 438.5 kB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.2542, allocations: 474 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.2544, allocations: 92 kB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.2546, allocations: 116 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.2548, allocations: 195.3 kB / 441.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.2552, allocations: 382.2 kB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.2563, allocations: 1.039 MB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2563, allocations: 4 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2563, allocations: 7.938 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.2563, allocations: 0 / 442.7 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.002715/0.259, allocations: 1.209 MB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2591, allocations: 12.03 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.2592, allocations: 96.33 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.26, allocations: 426.1 kB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.2601, allocations: 49.69 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.2602, allocations: 76.31 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2617, allocations: 0.7803 MB / 445.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2618, allocations: 0 / 445.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.2618, allocations: 28 kB / 445.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2618, allocations: 12 kB / 445.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2635, allocations: 0.6922 MB / 446.1 MB, free: 8.82 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.003844/0.2674, allocations: 1.8 MB / 447.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2688, allocations: 0.5577 MB / 448.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.2696, allocations: 313.9 kB / 448.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.2696, allocations: 8.438 kB / 448.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2707, allocations: 0.5448 MB / 449.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.004e-06/0.2707, allocations: 0 / 449.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.076/0.3467, allocations: 15.26 MB / 464.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.3468, allocations: 141.5 kB / 464.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.3477, allocations: 0.5223 MB / 465.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.348, allocations: 45.69 kB / 465.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.3483, allocations: 396.7 kB / 465.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.3486, allocations: 325.2 kB / 466 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.3491, allocations: 190.5 kB / 466.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.3493, allocations: 382.8 kB / 466.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.3514, allocations: 0.7824 MB / 467.3 MB, free: 3.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.3538, allocations: 1.092 MB / 468.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.358, allocations: 1.701 MB / 470.1 MB, free: 308 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.358, allocations: 7.938 kB / 470.1 MB, free: 300 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0256/0.3836, allocations: 5.393 MB / 475.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.3837, allocations: 67.39 kB / 475.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3837, allocations: 8 kB / 475.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03829/0.422, allocations: 6.821 MB / 482.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.4228, allocations: 151.7 kB / 482.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.4293, allocations: 3.017 MB / 485.6 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4311, allocations: 179.9 kB / 485.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.4312, allocations: 47.97 kB / 485.8 MB, free: 500 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.0004375/0.4316, allocations: 225.6 kB / 486 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4318, allocations: 83.47 kB / 486.1 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02389/0.4557, allocations: 5.076 MB / 491.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.4557, allocations: 8 kB / 491.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.4557, allocations: 4 kB / 491.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.4557, allocations: 3.984 kB / 491.2 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.4571, allocations: 0.7607 MB / 491.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4571, allocations: 256 / 491.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.4576, allocations: 103.8 kB / 492 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03627/0.4939, allocations: 6.77 MB / 498.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.4941, allocations: 27.97 kB / 498.8 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/0.5004, allocations: 3.033 MB / 0.4901 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5004, allocations: 0 / 0.4901 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02639/0.5268, allocations: 5.952 MB / 0.4959 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.527, allocations: 71.5 kB / 0.496 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.5272, allocations: 19.94 kB / 0.496 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5286, allocations: 171.8 kB / 0.4962 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.5289, allocations: 100.8 kB / 0.4963 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-05/0.5289, allocations: 31.91 kB / 0.4963 GB, free: 9.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004322/0.5294, allocations: 350.8 kB / 0.4966 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5294, allocations: 11.94 kB / 0.4966 GB, free: 9.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.5302, allocations: 259.9 kB / 0.4969 GB, free: 9.297 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.0002548/0.5304, allocations: 129.8 kB / 0.497 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006025/0.5364, allocations: 2.02 MB / 0.499 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5364, allocations: 448 / 0.499 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.54, allocations: 1.007 MB / 0.5 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.5407, allocations: 130.4 kB / 0.5001 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.5445, allocations: 1.854 MB / 0.5019 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.5449, allocations: 357.7 kB / 0.5022 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.545, allocations: 35.44 kB / 0.5023 GB, free: 3.672 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.545, allocations: 0 / 0.5023 GB, free: 3.672 MB / 414.1 MB Notification: Performance of Templates: time 0.02306/0.5681, allocations: 17.75 MB / 0.5196 GB, free: 1.941 MB / 430.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/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.718881078006234]