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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 109 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 216.7 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 60.09 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 53.38 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004683/0.108, allocations: 3.173 MB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1098, allocations: 0.8546 MB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.11, allocations: 11.94 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1102, allocations: 59.38 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1104, allocations: 114.9 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.1109, allocations: 163.7 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2133/0.3241, allocations: 0.5448 MB / 432 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.3245, allocations: 119.6 kB / 432.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.3249, allocations: 234.8 kB / 432.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.3252, allocations: 252.8 kB / 432.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.3253, allocations: 54.53 kB / 432.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3254, allocations: 58.81 kB / 432.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3255, allocations: 111.8 kB / 432.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3257, allocations: 241.3 kB / 433 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.3262, allocations: 0.5627 MB / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3262, allocations: 0 / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3262, allocations: 0 / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3263, allocations: 0.5625 kB / 433.6 MB, free: 7.504 MB / 350.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.001464/0.3277, allocations: 0.8141 MB / 434.4 MB, free: 7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3278, allocations: 9.406 kB / 434.4 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.3278, allocations: 10 kB / 434.4 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.3278, allocations: 78.95 kB / 434.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.328, allocations: 62.28 kB / 434.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3284, allocations: 317.3 kB / 434.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.3285, allocations: 28.25 kB / 434.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.3285, allocations: 39.16 kB / 434.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3295, allocations: 0.5049 MB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3295, allocations: 1.156 kB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.3296, allocations: 15.69 kB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3296, allocations: 11 kB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3309, allocations: 0.5022 MB / 436 MB, free: 6.598 MB / 350.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.00247/0.3334, allocations: 1.661 MB / 437.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3345, allocations: 399.7 kB / 438 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.3351, allocations: 223.2 kB / 438.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.3351, allocations: 10.03 kB / 438.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.3352, allocations: 37.81 kB / 438.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.3352, allocations: 0 / 438.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005027/0.3402, allocations: 1.361 MB / 439.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.3403, allocations: 160.5 kB / 439.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3406, allocations: 279.9 kB / 440.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3406, allocations: 30.86 kB / 440.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3407, allocations: 219.1 kB / 440.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.3408, allocations: 136.3 kB / 440.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.341, allocations: 80.03 kB / 440.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.341, allocations: 343.9 kB / 440.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.3415, allocations: 180.6 kB / 441.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.3421, allocations: 282.2 kB / 441.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009533/0.343, allocations: 428.2 kB / 441.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.343, allocations: 0 / 441.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001914/0.3449, allocations: 0.6779 MB / 442.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.345, allocations: 6.359 kB / 442.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.345, allocations: 5.375 kB / 442.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.3463, allocations: 317 kB / 442.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.3467, allocations: 83.56 kB / 442.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.3477, allocations: 1.347 MB / 444.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.3482, allocations: 81.95 kB / 444.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3482, allocations: 12.92 kB / 444.3 MB, free: 2.145 MB / 350.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.0001812/0.3484, allocations: 161.8 kB / 444.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.3485, allocations: 37.66 kB / 444.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.3506, allocations: 0.7248 MB / 445.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3506, allocations: 9.266 kB / 445.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3506, allocations: 0.625 kB / 445.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3506, allocations: 3.031 kB / 445.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.3512, allocations: 465.7 kB / 445.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3512, allocations: 3.938 kB / 445.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.3515, allocations: 60.27 kB / 445.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3527, allocations: 325.5 kB / 446 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.3527, allocations: 9.625 kB / 446 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009146/0.3537, allocations: 1.358 MB / 447.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3537, allocations: 1 kB / 447.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.3563, allocations: 1.012 MB / 448.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3564, allocations: 117 kB / 448.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.3565, allocations: 14.34 kB / 448.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.3569, allocations: 41.06 kB / 448.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.357, allocations: 24.78 kB / 448.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.357, allocations: 13.62 kB / 448.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.3573, allocations: 195.3 kB / 448.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3573, allocations: 0 / 448.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3578, allocations: 117 kB / 448.9 MB, free: 15.46 MB / 366.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.003118/0.3609, allocations: 1.564 MB / 450.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3622, allocations: 454.8 kB / 450.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3622, allocations: 1.594 kB / 450.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.3628, allocations: 237.2 kB / 451.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3633, allocations: 52.3 kB / 451.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007791/0.3711, allocations: 4.072 MB / 455.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3715, allocations: 0.8037 MB / 456.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3717, allocations: 33.03 kB / 456.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3718, allocations: 124.4 kB / 456.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3718, allocations: 0 / 456.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4037, allocations: 9.488 MB / 465.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.79, allocations: 11.11 kB / 465.8 MB, free: 6.898 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.617382021970116]