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.001837/0.001837, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002227/0.002227, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002028/0.002028, allocations: 56.14 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2645, allocations: 53.42 MB / 431.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007162/0.2716, allocations: 4.425 MB / 436.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.275, allocations: 1.248 MB / 437.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.2757, allocations: 15.94 kB / 437.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.2761, allocations: 126.7 kB / 437.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009831/0.2771, allocations: 257.7 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2782, allocations: 311.5 kB / 438 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.2799, allocations: 1.099 MB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.2803, allocations: 177.5 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006708/0.281, allocations: 434.5 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.2816, allocations: 433.9 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.2818, allocations: 88 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.282, allocations: 112 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.2822, allocations: 203.3 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.2826, allocations: 382.3 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2838, allocations: 1.039 MB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2838, allocations: 0 / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2838, allocations: 0 / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2839, allocations: 0 / 442 MB, free: 12.31 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.002624/0.2865, allocations: 1.209 MB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2865, allocations: 15.98 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2867, allocations: 100.3 kB / 443.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.2875, allocations: 430.1 kB / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.2875, allocations: 49.69 kB / 443.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.2877, allocations: 64.33 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.2893, allocations: 0.7881 MB / 444.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.2893, allocations: 0 / 444.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.2894, allocations: 24 kB / 444.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.2894, allocations: 16 kB / 444.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.2912, allocations: 0.6922 MB / 445.3 MB, free: 8.824 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.003962/0.2951, allocations: 1.8 MB / 447.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.2967, allocations: 0.5561 MB / 447.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.2975, allocations: 306.6 kB / 448 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.2975, allocations: 12.38 kB / 448 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.2986, allocations: 0.541 MB / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.415e-06/0.2986, allocations: 0 / 448.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.09541/0.394, allocations: 15.25 MB / 463.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3942, allocations: 141.5 kB / 463.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.3951, allocations: 0.5262 MB / 464.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.3954, allocations: 41.7 kB / 464.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.3958, allocations: 392.7 kB / 464.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004914/0.3963, allocations: 329.2 kB / 465.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.3967, allocations: 190.5 kB / 465.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3969, allocations: 382.8 kB / 465.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.3991, allocations: 0.7863 MB / 466.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.4016, allocations: 1.081 MB / 467.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/0.4061, allocations: 1.697 MB / 469.3 MB, free: 340 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4061, allocations: 11.88 kB / 469.3 MB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02383/0.4299, allocations: 5.405 MB / 474.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.43, allocations: 63.39 kB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.43, allocations: 4 kB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03477/0.4648, allocations: 6.844 MB / 481.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.4656, allocations: 151.7 kB / 481.8 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/0.4729, allocations: 3.165 MB / 485 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.4746, allocations: 179.9 kB / 485.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.4747, allocations: 47.97 kB / 485.2 MB, free: 348 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.0004533/0.4752, allocations: 237.6 kB / 485.4 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4754, allocations: 87.47 kB / 485.5 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02288/0.4983, allocations: 5.084 MB / 490.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.4983, allocations: 8 kB / 490.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4983, allocations: 0 / 490.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4983, allocations: 7.984 kB / 490.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.4998, allocations: 0.7607 MB / 491.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4999, allocations: 0 / 491.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.5004, allocations: 91.88 kB / 491.5 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03411/0.5345, allocations: 6.785 MB / 498.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.5347, allocations: 23.98 kB / 498.3 MB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/0.5411, allocations: 3.049 MB / 0.4896 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5411, allocations: 0 / 0.4896 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/0.5661, allocations: 5.952 MB / 0.4954 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5664, allocations: 71.5 kB / 0.4954 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/0.5667, allocations: 23.94 kB / 0.4955 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.5683, allocations: 171.8 kB / 0.4956 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.5686, allocations: 96.83 kB / 0.4957 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.5688, allocations: 35.97 kB / 0.4958 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005027/0.5693, allocations: 346.8 kB / 0.4961 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5693, allocations: 0 / 0.4961 GB, free: 9.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009612/0.5702, allocations: 267.9 kB / 0.4963 GB, free: 9.109 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.0003795/0.5706, allocations: 134.9 kB / 0.4965 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007384/0.578, allocations: 2.152 MB / 0.4986 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.578, allocations: 7.938 kB / 0.4986 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003658/0.5817, allocations: 1.012 MB / 0.4996 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.5826, allocations: 128.9 kB / 0.4997 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.5868, allocations: 1.799 MB / 0.5014 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5872, allocations: 361.6 kB / 0.5018 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.5875, allocations: 58.22 kB / 0.5018 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5877, allocations: 31.44 kB / 0.5019 GB, free: 3.34 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5877, allocations: 0 / 0.5019 GB, free: 3.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03406/0.6217, allocations: 19.96 MB / 0.5214 GB, free: 15.5 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: 5.895481139421463]