Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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.001573/0.001573, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002041/0.002041, allocations: 211.8 kB / 23 MB, free: 5.605 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.625/1.625, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3569, allocations: 53.34 MB / 429.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007059/0.364, allocations: 4.996 MB / 434.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.3673, allocations: 1.291 MB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.3677, allocations: 15.94 kB / 436.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.3681, allocations: 122.7 kB / 436.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.3686, allocations: 273.6 kB / 436.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.3694, allocations: 299.5 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.3707, allocations: 1.103 MB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.3711, allocations: 186.6 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3717, allocations: 422.5 kB / 438.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.3723, allocations: 478 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.3724, allocations: 88 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3726, allocations: 123.9 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.3729, allocations: 199.3 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.3733, allocations: 449.8 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3746, allocations: 1.044 MB / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3746, allocations: 0 / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3746, allocations: 0 / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3746, allocations: 0 / 440.9 MB, free: 12.58 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.002739/0.3773, allocations: 1.281 MB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3774, allocations: 12.03 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3776, allocations: 96.33 kB / 442.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.3784, allocations: 487.9 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.3785, allocations: 53.67 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3786, allocations: 68.33 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3801, allocations: 0.6548 MB / 443.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3802, allocations: 3.938 kB / 443.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.3802, allocations: 24 kB / 443.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.3802, allocations: 19.94 kB / 443.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.382, allocations: 0.6961 MB / 444.2 MB, free: 9.09 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.004175/0.3861, allocations: 2.367 MB / 446.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3876, allocations: 0.5592 MB / 447.2 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.3883, allocations: 313.9 kB / 447.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.3884, allocations: 12.42 kB / 447.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.3893, allocations: 425.4 kB / 447.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.3893, allocations: 0 / 447.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07239/0.4617, allocations: 15.39 MB / 463.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.4618, allocations: 149.5 kB / 463.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007848/0.4626, allocations: 0.5263 MB / 464 MB, free: 5.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.4628, allocations: 41.7 kB / 464 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.4632, allocations: 392.7 kB / 464.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.4635, allocations: 329.2 kB / 464.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.4639, allocations: 182.6 kB / 464.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.4641, allocations: 394.7 kB / 465.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.4662, allocations: 0.7244 MB / 466 MB, free: 2.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.4685, allocations: 0.959 MB / 467 MB, free: 1.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/0.4727, allocations: 1.693 MB / 468.6 MB, free: 140 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4727, allocations: 4 kB / 468.7 MB, free: 136 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02395/0.4966, allocations: 5.339 MB / 474 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.4967, allocations: 67.39 kB / 474.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4967, allocations: 8 kB / 474.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03482/0.5316, allocations: 6.84 MB / 480.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.5323, allocations: 147.7 kB / 481.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/0.5397, allocations: 3.161 MB / 484.2 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.5415, allocations: 187.8 kB / 484.4 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.5416, allocations: 47.97 kB / 484.4 MB, free: 236 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.0005083/0.5421, allocations: 229 kB / 484.7 MB, free: 0 / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5423, allocations: 83.67 kB / 484.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02243/0.5647, allocations: 5.068 MB / 489.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.5648, allocations: 8 kB / 489.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.5648, allocations: 0 / 489.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.5648, allocations: 7.984 kB / 489.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.5666, allocations: 1.112 MB / 490.9 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5666, allocations: 0 / 490.9 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.5671, allocations: 92.08 kB / 491 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03648/0.6036, allocations: 6.793 MB / 497.8 MB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/0.6039, allocations: 31.97 kB / 497.9 MB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.6102, allocations: 3.041 MB / 0.4892 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6102, allocations: 0 / 0.4892 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/0.6353, allocations: 5.952 MB / 0.495 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.6355, allocations: 152.6 kB / 0.4951 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6357, allocations: 19.98 kB / 0.4951 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.637, allocations: 167.8 kB / 0.4953 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.6373, allocations: 96.86 kB / 0.4954 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/0.6374, allocations: 27.98 kB / 0.4954 GB, free: 9.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.6379, allocations: 358.8 kB / 0.4958 GB, free: 8.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6379, allocations: 0 / 0.4958 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007582/0.6386, allocations: 259.9 kB / 0.496 GB, free: 8.566 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.0003089/0.6389, allocations: 143.2 kB / 0.4961 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006697/0.6456, allocations: 2.095 MB / 0.4982 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6456, allocations: 4.312 kB / 0.4982 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.6491, allocations: 1.022 MB / 0.4992 GB, free: 5.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.6499, allocations: 130.4 kB / 0.4993 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.6544, allocations: 1.796 MB / 0.5011 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.655, allocations: 0.9545 MB / 0.502 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003258/0.6554, allocations: 58.27 kB / 0.5021 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6555, allocations: 35.42 kB / 0.5021 GB, free: 2.242 MB / 414.1 MB Notification: Performance of SimCode: time 3.516e-06/0.6555, allocations: 0 / 0.5021 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Templates: time 0.04071/0.6962, allocations: 23.53 MB / 0.5251 GB, free: 10.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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.537664498202503]