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.001737/0.001737, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002011/0.002011, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.499/1.499, allocations: 230.5 MB / 257.4 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.002029/0.002029, allocations: 63.84 kB / 378.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2825, allocations: 53.4 MB / 431.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006001/0.2885, allocations: 4.425 MB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.2911, allocations: 1.241 MB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.2914, allocations: 11.94 kB / 437.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.2917, allocations: 130.7 kB / 437.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.2922, allocations: 265.6 kB / 437.7 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.2928, allocations: 307.5 kB / 438 MB, free: 112 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.294, allocations: 1.099 MB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.2943, allocations: 174.7 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.2948, allocations: 430.5 kB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.2954, allocations: 429.9 kB / 440.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.2955, allocations: 96 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2957, allocations: 116 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2959, allocations: 199.3 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.2963, allocations: 378.3 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.2974, allocations: 1.041 MB / 441.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2974, allocations: 4 kB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2974, allocations: 0 / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2974, allocations: 0 / 441.9 MB, free: 12.16 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.002672/0.3001, allocations: 1.213 MB / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3001, allocations: 15.98 kB / 443.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.3003, allocations: 100.3 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.3011, allocations: 422.1 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.3011, allocations: 49.69 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3012, allocations: 68.33 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.3028, allocations: 0.7842 MB / 444.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3028, allocations: 0 / 444.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.3029, allocations: 28 kB / 444.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3029, allocations: 12 kB / 444.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.3047, allocations: 0.6999 MB / 445.3 MB, free: 8.672 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.003837/0.3085, allocations: 1.796 MB / 447.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.31, allocations: 0.5599 MB / 447.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.3108, allocations: 310.6 kB / 448 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.3108, allocations: 8.438 kB / 448 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.3119, allocations: 0.541 MB / 448.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.315e-06/0.3119, allocations: 0 / 448.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07074/0.3827, allocations: 15.24 MB / 463.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.3828, allocations: 141.5 kB / 463.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.3836, allocations: 0.5223 MB / 464.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.3838, allocations: 45.7 kB / 464.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.3842, allocations: 404.6 kB / 464.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.3846, allocations: 329.2 kB / 465.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.3849, allocations: 186.5 kB / 465.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3852, allocations: 386.8 kB / 465.8 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.3873, allocations: 0.7784 MB / 466.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.3897, allocations: 1.088 MB / 467.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.3941, allocations: 1.697 MB / 469.3 MB, free: 184 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.3941, allocations: 7.938 kB / 469.3 MB, free: 176 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02421/0.4183, allocations: 5.393 MB / 474.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.083e-05/0.4184, allocations: 67.44 kB / 474.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.4184, allocations: 8 kB / 474.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03529/0.4537, allocations: 6.824 MB / 481.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/0.4545, allocations: 151.7 kB / 481.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/0.4611, allocations: 3.021 MB / 484.8 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.463, allocations: 179.8 kB / 485 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4631, allocations: 47.97 kB / 485 MB, free: 368 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.0005087/0.4636, allocations: 237.5 kB / 485.2 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.4638, allocations: 79.48 kB / 485.3 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/0.4871, allocations: 5.068 MB / 490.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.4872, allocations: 12 kB / 490.4 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4872, allocations: 4 kB / 490.4 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.4872, allocations: 3.984 kB / 490.4 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.4887, allocations: 0.7685 MB / 491.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4887, allocations: 0 / 491.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.4893, allocations: 87.88 kB / 491.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03465/0.5239, allocations: 6.777 MB / 498 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.5241, allocations: 27.98 kB / 498.1 MB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006548/0.5307, allocations: 3.029 MB / 0.4893 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5307, allocations: 0 / 0.4893 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/0.5566, allocations: 5.952 MB / 0.4952 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5569, allocations: 71.55 kB / 0.4952 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.557, allocations: 27.98 kB / 0.4953 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.5584, allocations: 171.8 kB / 0.4954 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.5587, allocations: 100.8 kB / 0.4955 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.5588, allocations: 23.98 kB / 0.4955 GB, free: 9.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004885/0.5593, allocations: 350.8 kB / 0.4959 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5593, allocations: 7.938 kB / 0.4959 GB, free: 9.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008059/0.5601, allocations: 259.9 kB / 0.4961 GB, free: 9.168 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.0002876/0.5604, allocations: 142.1 kB / 0.4963 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006373/0.5667, allocations: 2.019 MB / 0.4982 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5667, allocations: 0 / 0.4982 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003613/0.5703, allocations: 1.012 MB / 0.4992 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.5711, allocations: 131.8 kB / 0.4993 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.5751, allocations: 1.826 MB / 0.5011 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5755, allocations: 353.7 kB / 0.5015 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.5758, allocations: 62.22 kB / 0.5015 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.5759, allocations: 31.44 kB / 0.5016 GB, free: 3.512 MB / 414.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5759, allocations: 0 / 0.5016 GB, free: 3.512 MB / 414.1 MB Notification: Performance of Templates: time 0.03435/0.6103, allocations: 19.99 MB / 0.5211 GB, free: 15.63 MB / 446.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/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_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: 5.857047148048878]