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.001106/0.001106, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.28 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09116, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006237/0.09744, allocations: 4.977 MB / 362.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1003, allocations: 1.307 MB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.1009, allocations: 12 kB / 363.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.1015, allocations: 91.23 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008272/0.1023, allocations: 218.1 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.1031, allocations: 271.7 kB / 364.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1044, allocations: 1.036 MB / 365.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.1048, allocations: 231.4 kB / 365.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.1055, allocations: 374.5 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.1061, allocations: 442 kB / 366.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.1063, allocations: 52 kB / 366.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.1066, allocations: 75.98 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1068, allocations: 163.3 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.1073, allocations: 417.8 kB / 367 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.108, allocations: 0.7366 MB / 367.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.108, allocations: 0 / 367.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1081, allocations: 4 kB / 367.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.1081, allocations: 0 / 367.8 MB, free: 4.094 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.00289/0.111, allocations: 1.254 MB / 369 MB, free: 2.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.111, allocations: 12.03 kB / 369 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1112, allocations: 91.81 kB / 369.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.1119, allocations: 487.4 kB / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.1119, allocations: 45.69 kB / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1121, allocations: 68.38 kB / 369.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1135, allocations: 0.6548 MB / 370.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1136, allocations: 0 / 370.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1136, allocations: 31.98 kB / 370.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1137, allocations: 12 kB / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.1153, allocations: 0.7038 MB / 371.1 MB, free: 0.6367 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.1717/0.2871, allocations: 2.359 MB / 373.5 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.2886, allocations: 0.5869 MB / 374.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.2893, allocations: 333.3 kB / 374.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.2894, allocations: 16.03 kB / 374.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.2904, allocations: 428.6 kB / 374.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.2904, allocations: 0 / 374.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06791/0.3583, allocations: 15.42 MB / 390.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3584, allocations: 144.8 kB / 390.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.3591, allocations: 0.5242 MB / 390.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.3593, allocations: 45.61 kB / 391 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3595, allocations: 379.4 kB / 391.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3597, allocations: 318 kB / 391.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.36, allocations: 185.6 kB / 391.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.3601, allocations: 389.2 kB / 392.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.362, allocations: 0.7184 MB / 392.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.3638, allocations: 0.9617 MB / 393.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.3672, allocations: 1.693 MB / 395.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3672, allocations: 0 / 395.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02149/0.3887, allocations: 5.377 MB / 401 MB, free: 3.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.3888, allocations: 63.39 kB / 401 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3888, allocations: 8 kB / 401 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03248/0.4213, allocations: 6.842 MB / 407.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.422, allocations: 151.7 kB / 408 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/0.4292, allocations: 3.163 MB / 411.2 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.431, allocations: 187.8 kB / 411.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.4312, allocations: 47.97 kB / 411.4 MB, free: 9.258 MB / 318.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.0005132/0.4317, allocations: 226.7 kB / 411.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4319, allocations: 83 kB / 411.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/0.4545, allocations: 5.106 MB / 416.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.4546, allocations: 9.906 kB / 416.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4546, allocations: 0 / 416.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.4546, allocations: 7.969 kB / 416.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.4564, allocations: 1.097 MB / 417.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4564, allocations: 4 kB / 417.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.457, allocations: 103.8 kB / 418 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03385/0.4909, allocations: 6.804 MB / 424.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.4912, allocations: 27.97 kB / 424.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/0.4972, allocations: 3.036 MB / 427.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4973, allocations: 4.656 kB / 427.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02462/0.5219, allocations: 5.99 MB / 433.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.5222, allocations: 151.7 kB / 434.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.5225, allocations: 20.06 kB / 434.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.524, allocations: 171.8 kB / 434.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.5243, allocations: 98.58 kB / 434.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5244, allocations: 27.98 kB / 434.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.5248, allocations: 358.8 kB / 434.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5248, allocations: 3.938 kB / 434.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.5257, allocations: 260 kB / 435 MB, free: 1.566 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.0002769/0.526, allocations: 128.2 kB / 435.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006725/0.5327, allocations: 2.165 MB / 437.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5327, allocations: 0 / 437.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/0.5361, allocations: 1.081 MB / 438.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.5369, allocations: 140.1 kB / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.5411, allocations: 2.153 MB / 440.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.5417, allocations: 0.9518 MB / 441.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5419, allocations: 39.42 kB / 441.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5419, allocations: 0 / 441.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Templates: time 0.02248/0.5643, allocations: 17.39 MB / 459 MB, free: 9.492 MB / 366.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/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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches