Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002301/0.002301, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.47 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004866/0.1123, allocations: 3.152 MB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1147, allocations: 0.8546 MB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.1153, allocations: 4 kB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1157, allocations: 63.3 kB / 361.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.1162, allocations: 114.9 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1169, allocations: 159.7 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.1177, allocations: 0.5386 MB / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.1181, allocations: 168.3 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005957/0.1187, allocations: 235.1 kB / 362.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.1193, allocations: 255 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1195, allocations: 52 kB / 363.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1197, allocations: 59.98 kB / 363.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1199, allocations: 107.7 kB / 363.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.1202, allocations: 250.8 kB / 363.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.1209, allocations: 0.5531 MB / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.121, allocations: 0 / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.121, allocations: 0 / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.121, allocations: 0 / 364.1 MB, free: 7.434 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002095/0.1231, allocations: 0.8031 MB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.1232, allocations: 8.031 kB / 364.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1233, allocations: 74.72 kB / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1235, allocations: 60.36 kB / 365.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.124, allocations: 307.4 kB / 365.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.124, allocations: 29.38 kB / 365.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.1241, allocations: 36.38 kB / 365.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1252, allocations: 0.5007 MB / 365.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1252, allocations: 0 / 365.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1253, allocations: 16 kB / 365.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1253, allocations: 16 kB / 366 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1267, allocations: 0.4996 MB / 366.5 MB, free: 4.973 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.002939/0.1296, allocations: 1.671 MB / 368.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1307, allocations: 434.4 kB / 368.6 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.1313, allocations: 244.4 kB / 368.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.1314, allocations: 12.3 kB / 368.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1314, allocations: 46.83 kB / 368.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.1314, allocations: 0 / 368.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005099/0.1365, allocations: 1.357 MB / 370.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/0.1367, allocations: 158.2 kB / 370.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.137, allocations: 275 kB / 370.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1371, allocations: 33.7 kB / 370.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1372, allocations: 208.3 kB / 370.9 MB, free: 312 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1373, allocations: 138 kB / 371 MB, free: 172 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1374, allocations: 74.12 kB / 371.1 MB, free: 92 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.218/0.3555, allocations: 346.8 kB / 371.4 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.3562, allocations: 177.7 kB / 371.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.3568, allocations: 278.3 kB / 371.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3579, allocations: 427.5 kB / 372.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3579, allocations: 0 / 372.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001974/0.3598, allocations: 0.683 MB / 373 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3599, allocations: 6.469 kB / 373 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3599, allocations: 4.375 kB / 373 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.3612, allocations: 321.3 kB / 373.3 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3616, allocations: 80.16 kB / 373.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3627, allocations: 1.345 MB / 374.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.3632, allocations: 76.62 kB / 374.8 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3633, allocations: 20.44 kB / 374.8 MB, free: 18.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.3635, allocations: 165.4 kB / 375 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.3636, allocations: 37.08 kB / 375 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.3658, allocations: 0.7257 MB / 375.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.3658, allocations: 9.188 kB / 375.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3658, allocations: 3.109 kB / 375.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3658, allocations: 2.016 kB / 375.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.3665, allocations: 465.1 kB / 376.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3665, allocations: 3.516 kB / 376.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.3668, allocations: 55.61 kB / 376.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.368, allocations: 327.9 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3681, allocations: 13.12 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009566/0.369, allocations: 1.357 MB / 377.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3691, allocations: 0 / 377.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.3716, allocations: 1.015 MB / 379 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.3717, allocations: 118.3 kB / 379.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.3718, allocations: 11.19 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.3722, allocations: 41.3 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3723, allocations: 24.44 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3723, allocations: 12.55 kB / 379.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.3725, allocations: 195.9 kB / 379.3 MB, free: 16.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3726, allocations: 0 / 379.3 MB, free: 16.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.373, allocations: 113.1 kB / 379.5 MB, free: 16.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/0.3758, allocations: 1.573 MB / 381 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3773, allocations: 484.8 kB / 381.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3773, allocations: 1.094 kB / 381.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.3779, allocations: 258.2 kB / 381.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3784, allocations: 51.02 kB / 381.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.3857, allocations: 4.094 MB / 385.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3861, allocations: 0.7988 MB / 386.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.3863, allocations: 29.48 kB / 386.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.3865, allocations: 127.8 kB / 386.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3865, allocations: 0 / 386.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4184, allocations: 9.224 MB / 396.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 5.578 kB / 396.1 MB, free: 8.043 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches