Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2248, allocations: 53.42 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005986/0.2308, allocations: 4.42 MB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2332, allocations: 1.237 MB / 438.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.2335, allocations: 15.94 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.2338, allocations: 126.7 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.2343, allocations: 261.7 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.235, allocations: 311.5 kB / 438.8 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2361, allocations: 1.103 MB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.2364, allocations: 182.7 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.2369, allocations: 430.5 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.2374, allocations: 422.1 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2375, allocations: 88 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.2377, allocations: 116 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.2379, allocations: 203.3 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.2383, allocations: 378.3 kB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.2394, allocations: 1.042 MB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2394, allocations: 0 / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2394, allocations: 0 / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2394, allocations: 0 / 442.7 MB, free: 12.18 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.002499/0.2419, allocations: 1.217 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2419, allocations: 11.98 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.2421, allocations: 100.3 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.2428, allocations: 426.1 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.2428, allocations: 49.67 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2429, allocations: 68.33 kB / 444.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.2444, allocations: 0.7803 MB / 445.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2444, allocations: 3.938 kB / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.2445, allocations: 31.98 kB / 445.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.2445, allocations: 16 kB / 445.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.2462, allocations: 0.6883 MB / 446.1 MB, free: 8.688 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.003582/0.2497, allocations: 1.796 MB / 447.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.2512, allocations: 0.5626 MB / 448.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.2519, allocations: 306.6 kB / 448.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2519, allocations: 8.438 kB / 448.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/0.2529, allocations: 0.5449 MB / 449.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.214e-06/0.2529, allocations: 0 / 449.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06791/0.3208, allocations: 15.25 MB / 464.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.321, allocations: 153.4 kB / 464.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.3217, allocations: 0.5223 MB / 465.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.3218, allocations: 45.7 kB / 465.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3221, allocations: 396.7 kB / 465.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.3225, allocations: 329.2 kB / 466 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.3228, allocations: 186.5 kB / 466.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.323, allocations: 386.8 kB / 466.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.3251, allocations: 0.7824 MB / 467.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.3275, allocations: 1.092 MB / 468.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004177/0.3317, allocations: 1.689 MB / 470.1 MB, free: 192 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3317, allocations: 3.938 kB / 470.1 MB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02323/0.3549, allocations: 5.397 MB / 475.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.355, allocations: 67.33 kB / 475.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.355, allocations: 8 kB / 475.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03382/0.3888, allocations: 6.825 MB / 482.4 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.3895, allocations: 155.7 kB / 482.5 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.3956, allocations: 3.013 MB / 485.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.3972, allocations: 183.8 kB / 485.7 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3973, allocations: 47.98 kB / 485.8 MB, free: 376 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.0004155/0.3978, allocations: 237.5 kB / 486 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3979, allocations: 83.48 kB / 486.1 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02203/0.4199, allocations: 5.064 MB / 491.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.42, allocations: 12 kB / 491.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.42, allocations: 0 / 491.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.42, allocations: 4.234 kB / 491.2 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4213, allocations: 0.7568 MB / 491.9 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4213, allocations: 7.984 kB / 491.9 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.4218, allocations: 99.83 kB / 492 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03367/0.4555, allocations: 6.77 MB / 498.8 MB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.4557, allocations: 27.97 kB / 498.8 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/0.462, allocations: 3.037 MB / 0.4901 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.462, allocations: 0 / 0.4901 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/0.4871, allocations: 5.944 MB / 0.4959 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.4873, allocations: 71.55 kB / 0.496 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.4875, allocations: 31.92 kB / 0.496 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.4889, allocations: 167.8 kB / 0.4962 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.4891, allocations: 96.83 kB / 0.4963 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/0.4892, allocations: 35.97 kB / 0.4963 GB, free: 9.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.4896, allocations: 350.8 kB / 0.4966 GB, free: 9.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4896, allocations: 0 / 0.4966 GB, free: 9.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007421/0.4904, allocations: 263.9 kB / 0.4969 GB, free: 9.176 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.0002495/0.4906, allocations: 134.5 kB / 0.497 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006138/0.4968, allocations: 2.02 MB / 0.499 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4968, allocations: 0 / 0.499 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/0.5003, allocations: 1.003 MB / 0.5 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.501, allocations: 130.4 kB / 0.5001 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.5048, allocations: 1.855 MB / 0.5019 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.5051, allocations: 357.7 kB / 0.5022 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5053, allocations: 39.44 kB / 0.5023 GB, free: 3.543 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5053, allocations: 0 / 0.5023 GB, free: 3.543 MB / 414.1 MB Notification: Performance of Templates: time 0.02285/0.5282, allocations: 17.75 MB / 0.5196 GB, free: 1.82 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.45909025426954]