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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.665/1.665, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.88 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3676, allocations: 50.53 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005966/0.3736, allocations: 4.972 MB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3763, allocations: 1.28 MB / 415.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.3769, allocations: 15.94 kB / 415.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.3773, allocations: 126.7 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.378, allocations: 269.6 kB / 415.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.3789, allocations: 307.5 kB / 416.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3802, allocations: 1.099 MB / 417.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.3806, allocations: 266.5 kB / 417.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.3811, allocations: 418.6 kB / 418 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.3816, allocations: 466 kB / 418.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3817, allocations: 88 kB / 418.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.382, allocations: 112 kB / 418.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3821, allocations: 195.3 kB / 418.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.3825, allocations: 449.8 kB / 419.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.3835, allocations: 1.002 MB / 420.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3835, allocations: 3.938 kB / 420.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3835, allocations: 8 kB / 420.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3835, allocations: 0 / 420.3 MB, free: 6.48 MB / 334.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.002493/0.386, allocations: 1.262 MB / 421.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3861, allocations: 8.031 kB / 421.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.3862, allocations: 99.91 kB / 421.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.387, allocations: 483.5 kB / 422.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.387, allocations: 49.69 kB / 422.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3871, allocations: 64.38 kB / 422.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3884, allocations: 0.6509 MB / 422.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3885, allocations: 3.984 kB / 422.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.3885, allocations: 28 kB / 422.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3886, allocations: 16 kB / 422.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.3902, allocations: 0.6921 MB / 423.6 MB, free: 3.023 MB / 334.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.003974/0.3942, allocations: 2.367 MB / 426 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3956, allocations: 0.5942 MB / 426.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.3964, allocations: 333.9 kB / 426.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/0.3964, allocations: 16.44 kB / 426.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.3973, allocations: 413.5 kB / 427.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.334e-06/0.3974, allocations: 4 kB / 427.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06589/0.4633, allocations: 15.43 MB / 442.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.4634, allocations: 141.5 kB / 442.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.4642, allocations: 0.5262 MB / 443.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.4644, allocations: 41.7 kB / 443.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.4647, allocations: 387.8 kB / 443.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.465, allocations: 315.4 kB / 444.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.4654, allocations: 186.5 kB / 444.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4655, allocations: 390.7 kB / 444.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.4674, allocations: 0.7205 MB / 445.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.4694, allocations: 0.9629 MB / 446.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.4732, allocations: 1.693 MB / 448.1 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4732, allocations: 4 kB / 448.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.022/0.4952, allocations: 5.378 MB / 453.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.4954, allocations: 67.39 kB / 453.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.4954, allocations: 4 kB / 453.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0331/0.5285, allocations: 6.844 MB / 460.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.5293, allocations: 151.7 kB / 460.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/0.5363, allocations: 3.149 MB / 463.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5381, allocations: 183.8 kB / 463.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.5383, allocations: 47.97 kB / 463.9 MB, free: 10.07 MB / 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.000576/0.5389, allocations: 225.6 kB / 464.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.5391, allocations: 82.97 kB / 464.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02119/0.5603, allocations: 5.119 MB / 469.3 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/0.5604, allocations: 12 kB / 469.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.5604, allocations: 0 / 469.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.5605, allocations: 7.969 kB / 469.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.5633, allocations: 1.1 MB / 470.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.5634, allocations: 4 kB / 470.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.564, allocations: 91.88 kB / 470.5 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03236/0.5964, allocations: 6.793 MB / 477.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/0.5968, allocations: 27.97 kB / 477.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006408/0.6032, allocations: 3.044 MB / 480.4 MB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6033, allocations: 0 / 480.4 MB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02402/0.6273, allocations: 5.987 MB / 486.4 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.6276, allocations: 148.1 kB / 486.5 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.628, allocations: 20 kB / 486.6 MB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.6294, allocations: 171.8 kB / 486.7 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.6297, allocations: 92.88 kB / 486.8 MB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6299, allocations: 27.98 kB / 486.8 MB, free: 2.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004497/0.6303, allocations: 350.8 kB / 487.2 MB, free: 2.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6304, allocations: 3.938 kB / 487.2 MB, free: 2.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001034/0.6314, allocations: 276 kB / 487.5 MB, free: 2.316 MB / 398.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.000357/0.6318, allocations: 127.2 kB / 487.6 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006919/0.6387, allocations: 2.189 MB / 489.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6388, allocations: 0 / 489.8 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.6423, allocations: 1.089 MB / 490.9 MB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.6433, allocations: 130.2 kB / 491 MB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.648, allocations: 1.774 MB / 492.8 MB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.6486, allocations: 0.9505 MB / 493.7 MB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.6489, allocations: 62.27 kB / 493.8 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6491, allocations: 39.42 kB / 493.8 MB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6491, allocations: 0 / 493.8 MB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.04187/0.6909, allocations: 22.63 MB / 0.5043 GB, free: 5.332 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches