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.001119/0.001118, allocations: 96.69 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004543/0.1246, allocations: 3.996 MB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.1275, allocations: 1.3 MB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.128, allocations: 19.88 kB / 363.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1282, allocations: 83.34 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.1288, allocations: 279.1 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.1295, allocations: 223.6 kB / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009104/0.1304, allocations: 0.7071 MB / 364.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.1308, allocations: 199.7 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.1312, allocations: 354.7 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.1317, allocations: 418.3 kB / 365.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.1318, allocations: 44 kB / 365.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.132, allocations: 63.98 kB / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1321, allocations: 147.4 kB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1323, allocations: 177.2 kB / 366 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.133, allocations: 0.7325 MB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.133, allocations: 4 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.133, allocations: 0 / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.133, allocations: 4 kB / 366.8 MB, free: 5.168 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.002455/0.1355, allocations: 1.164 MB / 367.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1355, allocations: 8.031 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.1357, allocations: 94.88 kB / 368 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.1363, allocations: 462.7 kB / 368.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.1364, allocations: 45.31 kB / 368.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1366, allocations: 71.98 kB / 368.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.138, allocations: 0.6701 MB / 369.3 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.138, allocations: 0 / 369.3 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.1381, allocations: 28 kB / 369.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1381, allocations: 19.94 kB / 369.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.1398, allocations: 0.7507 MB / 370.1 MB, free: 1.758 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.2286/0.3684, allocations: 2.416 MB / 372.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.3705, allocations: 0.6326 MB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.3706, allocations: 9.266 kB / 373.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/0.3721, allocations: 452.6 kB / 373.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.957e-06/0.3721, allocations: 0.5625 kB / 373.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07053/0.4427, allocations: 16.73 MB / 390.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.4428, allocations: 147.4 kB / 390.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.4435, allocations: 0.5153 MB / 391 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.4437, allocations: 44.95 kB / 391 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4439, allocations: 394.6 kB / 391.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.4442, allocations: 308.9 kB / 391.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.4442, allocations: 20 kB / 391.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.4443, allocations: 390.7 kB / 392.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4461, allocations: 0.7947 MB / 392.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4479, allocations: 1.025 MB / 393.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.4498, allocations: 0.8831 MB / 394.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4498, allocations: 4 kB / 394.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02122/0.471, allocations: 5.653 MB / 400.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.4711, allocations: 63.39 kB / 400.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4711, allocations: 7.953 kB / 400.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0337/0.5048, allocations: 7.313 MB / 407.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.5057, allocations: 187.7 kB / 408 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006893/0.5126, allocations: 3.218 MB / 411.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.5145, allocations: 227.8 kB / 411.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5147, allocations: 51.97 kB / 411.5 MB, free: 8.707 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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.5151, allocations: 217.7 kB / 411.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.5153, allocations: 83.02 kB / 411.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02264/0.538, allocations: 5.464 MB / 417.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.538, allocations: 8 kB / 417.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.538, allocations: 5 kB / 417.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.5381, allocations: 7.984 kB / 417.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5397, allocations: 1.11 MB / 418.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5397, allocations: 0 / 418.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.5402, allocations: 119.9 kB / 418.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03737/0.5776, allocations: 7.29 MB / 425.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003756/0.578, allocations: 27.97 kB / 425.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007865/0.5859, allocations: 3.08 MB / 428.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.586, allocations: 3.984 kB / 428.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03197/0.618, allocations: 6.424 MB / 435.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.6186, allocations: 140.2 kB / 435.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.6189, allocations: 27.94 kB / 435.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.6209, allocations: 215.8 kB / 435.7 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.6213, allocations: 100.8 kB / 435.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6214, allocations: 29.48 kB / 435.8 MB, free: 244 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007196/0.6221, allocations: 354.8 kB / 436.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6222, allocations: 0 / 436.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001155/0.6233, allocations: 262.6 kB / 436.4 MB, free: 15.64 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003782/0.6237, allocations: 134.5 kB / 436.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009688/0.6334, allocations: 2.328 MB / 438.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6335, allocations: 0 / 438.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003828/0.6373, allocations: 1.162 MB / 440.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.6382, allocations: 110.2 kB / 440.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.643, allocations: 2.094 MB / 442.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.6437, allocations: 0.9673 MB / 443.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.6441, allocations: 54.27 kB / 443.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6442, allocations: 35.44 kB / 443.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6442, allocations: 0 / 443.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Templates: time 0.03329/0.6775, allocations: 19.81 MB / 463.1 MB, free: 4.977 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches