Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001243/0.001243, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001394/0.001394, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 75.78 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 53.3 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006629/0.2823, allocations: 5.013 MB / 437.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.285, allocations: 1.291 MB / 438.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.2854, allocations: 12 kB / 438.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.2857, allocations: 130.7 kB / 438.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.2862, allocations: 265.7 kB / 438.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.2869, allocations: 307.5 kB / 439.1 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2881, allocations: 1.091 MB / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.2885, allocations: 190.5 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.289, allocations: 426.5 kB / 440.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.2896, allocations: 474 kB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.2897, allocations: 96 kB / 441.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.2899, allocations: 120 kB / 441.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.2901, allocations: 203.2 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.2906, allocations: 441.9 kB / 442.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2918, allocations: 1.048 MB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2918, allocations: 0 / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2918, allocations: 0 / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2918, allocations: 0 / 443.1 MB, free: 12.27 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.002655/0.2944, allocations: 1.273 MB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2945, allocations: 12.03 kB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.2946, allocations: 100.3 kB / 444.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.2954, allocations: 499.8 kB / 445 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2954, allocations: 49.69 kB / 445 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2956, allocations: 64.33 kB / 445.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.297, allocations: 0.6587 MB / 445.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.297, allocations: 4 kB / 445.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.2971, allocations: 24 kB / 445.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.2971, allocations: 16 kB / 445.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.2988, allocations: 0.7 MB / 446.5 MB, free: 8.77 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.004051/0.3029, allocations: 2.375 MB / 448.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.3044, allocations: 0.5481 MB / 449.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.3052, allocations: 310 kB / 449.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.3052, allocations: 8.438 kB / 449.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000989/0.3062, allocations: 429.4 kB / 450.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.004e-06/0.3062, allocations: 0 / 450.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06865/0.3748, allocations: 15.39 MB / 465.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.375, allocations: 149.5 kB / 465.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.3759, allocations: 0.5224 MB / 466.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.3762, allocations: 45.7 kB / 466.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.3766, allocations: 388.7 kB / 466.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.377, allocations: 329.2 kB / 467 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/0.3775, allocations: 186.6 kB / 467.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3777, allocations: 386.7 kB / 467.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.3799, allocations: 0.7244 MB / 468.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.3823, allocations: 0.9629 MB / 469.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0045/0.3868, allocations: 1.689 MB / 470.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.3868, allocations: 0 / 470.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02354/0.4103, allocations: 5.343 MB / 476.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4104, allocations: 66.36 kB / 476.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.4105, allocations: 8 kB / 476.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0341/0.4446, allocations: 6.848 MB / 483.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.4453, allocations: 147.7 kB / 483.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.4529, allocations: 3.165 MB / 486.5 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.4547, allocations: 176.1 kB / 486.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4549, allocations: 55.91 kB / 486.7 MB, free: 15.92 MB / 398.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.0005845/0.4555, allocations: 241.6 kB / 486.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.4557, allocations: 83.47 kB / 487 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/0.4777, allocations: 5.068 MB / 492.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.4778, allocations: 8 kB / 492.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.4778, allocations: 0 / 492.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.4778, allocations: 7.922 kB / 492.1 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.48, allocations: 1.1 MB / 493.2 MB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.48, allocations: 3.938 kB / 493.2 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.4806, allocations: 99.88 kB / 493.3 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0329/0.5135, allocations: 6.781 MB / 0.4884 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/0.5138, allocations: 27.97 kB / 0.4884 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/0.5201, allocations: 3.049 MB / 0.4914 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5201, allocations: 0 / 0.4914 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/0.5444, allocations: 5.948 MB / 0.4972 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.5447, allocations: 156.5 kB / 0.4973 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.545, allocations: 16 kB / 0.4973 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.5464, allocations: 176.1 kB / 0.4975 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/0.5467, allocations: 92.88 kB / 0.4976 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.5468, allocations: 35.97 kB / 0.4976 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.5473, allocations: 362.8 kB / 0.498 GB, free: 8.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5473, allocations: 0 / 0.498 GB, free: 8.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.5482, allocations: 259.9 kB / 0.4982 GB, free: 8.238 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.0003296/0.5485, allocations: 123.8 kB / 0.4983 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007062/0.5556, allocations: 2.098 MB / 0.5004 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/0.5556, allocations: 9.312 kB / 0.5004 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.5592, allocations: 1.019 MB / 0.5014 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.5601, allocations: 133.5 kB / 0.5015 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.5646, allocations: 1.827 MB / 0.5033 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.5653, allocations: 0.9545 MB / 0.5042 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.5655, allocations: 39.44 kB / 0.5043 GB, free: 1.945 MB / 414.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5655, allocations: 0 / 0.5043 GB, free: 1.945 MB / 414.1 MB Notification: Performance of Templates: time 0.02681/0.5923, allocations: 17.48 MB / 0.5213 GB, free: 0.4922 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.565497379284352]