Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.6 kB / 17.29 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009401/0.0009401, allocations: 51.36 kB / 300.8 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09371, allocations: 49.44 MB / 350.2 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.0057/0.09945, allocations: 4.964 MB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.102, allocations: 1.245 MB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.1025, allocations: 12 kB / 356.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1028, allocations: 91.22 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.1034, allocations: 226.1 kB / 356.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.1041, allocations: 271.7 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1051, allocations: 1.107 MB / 358.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.1055, allocations: 254.5 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.106, allocations: 422.5 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.1065, allocations: 466 kB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1066, allocations: 88 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1068, allocations: 120 kB / 359.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.107, allocations: 187.3 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.1073, allocations: 449.8 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.1081, allocations: 0.7523 MB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1081, allocations: 4 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1081, allocations: 0 / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.1081, allocations: 0 / 360.8 MB, free: 10.09 MB / 302.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.002366/0.1105, allocations: 1.254 MB / 362.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1105, allocations: 12.03 kB / 362.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.1107, allocations: 91.81 kB / 362.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.1113, allocations: 483.5 kB / 362.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1113, allocations: 49.69 kB / 362.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1115, allocations: 68.28 kB / 362.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1129, allocations: 0.6509 MB / 363.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1129, allocations: 0 / 363.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.113, allocations: 32 kB / 363.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.113, allocations: 15.98 kB / 363.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1146, allocations: 0.696 MB / 364.2 MB, free: 6.637 MB / 302.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.003836/0.1185, allocations: 2.374 MB / 366.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.12, allocations: 0.5944 MB / 367.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.1207, allocations: 330 kB / 367.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.1207, allocations: 8.422 kB / 367.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/0.1217, allocations: 425.5 kB / 367.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.195e-06/0.1217, allocations: 0 / 367.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.2329/0.3546, allocations: 15.41 MB / 383.3 MB, free: 22.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3547, allocations: 141.2 kB / 383.4 MB, free: 22.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.3552, allocations: 0.5156 MB / 384 MB, free: 22.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.3554, allocations: 49.66 kB / 384 MB, free: 22.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3556, allocations: 390.7 kB / 384.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3558, allocations: 314.5 kB / 384.7 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.3561, allocations: 185.4 kB / 384.9 MB, free: 21.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.3562, allocations: 390.3 kB / 385.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.3579, allocations: 0.718 MB / 386 MB, free: 21.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.3597, allocations: 0.9549 MB / 386.9 MB, free: 20.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.3632, allocations: 1.69 MB / 388.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3632, allocations: 7.688 kB / 388.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02151/0.3847, allocations: 5.383 MB / 394 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.3848, allocations: 70.23 kB / 394.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3848, allocations: 8 kB / 394.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03182/0.4167, allocations: 6.849 MB / 400.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.4173, allocations: 147.7 kB / 401.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005707/0.4231, allocations: 3.153 MB / 404.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4247, allocations: 185.8 kB / 404.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4248, allocations: 47.97 kB / 404.5 MB, free: 4.477 MB / 302.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.0003762/0.4252, allocations: 229.6 kB / 404.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.4253, allocations: 79.06 kB / 404.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02128/0.4466, allocations: 5.11 MB / 409.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.4467, allocations: 12 kB / 409.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4467, allocations: 0 / 409.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4467, allocations: 3.984 kB / 409.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.4482, allocations: 1.096 MB / 411 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4482, allocations: 4 kB / 411 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.4487, allocations: 95.88 kB / 411.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03297/0.4817, allocations: 6.799 MB / 417.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.4819, allocations: 27.97 kB / 417.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.4873, allocations: 3.041 MB / 420.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4873, allocations: 0 / 420.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/0.5112, allocations: 6.001 MB / 426.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.5114, allocations: 144.2 kB / 427.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5116, allocations: 19.94 kB / 427.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.513, allocations: 171.8 kB / 427.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.5132, allocations: 92.88 kB / 427.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.5133, allocations: 35.97 kB / 427.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5137, allocations: 354.8 kB / 427.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5137, allocations: 0 / 427.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.5144, allocations: 263 kB / 428 MB, free: 12.78 MB / 334.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.0002339/0.5147, allocations: 128 kB / 428.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006578/0.5212, allocations: 2.196 MB / 430.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5213, allocations: 7 kB / 430.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.5246, allocations: 1.087 MB / 431.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.5254, allocations: 137.9 kB / 431.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.5293, allocations: 2.154 MB / 433.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.5298, allocations: 0.9545 MB / 434.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5299, allocations: 39.44 kB / 434.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5299, allocations: 0 / 434.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Templates: time 0.01887/0.5488, allocations: 17.41 MB / 452.1 MB, free: 4.652 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches