Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 47.94 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09585, allocations: 53.33 MB / 427 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004582/0.1004, allocations: 3.177 MB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1021, allocations: 0.843 MB / 431.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.1024, allocations: 15.94 kB / 431.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1027, allocations: 59.38 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.103, allocations: 122.8 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1035, allocations: 151.7 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1867/0.2902, allocations: 0.5482 MB / 431.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.2905, allocations: 122.9 kB / 432.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.2909, allocations: 232.5 kB / 432.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2911, allocations: 258.9 kB / 432.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.2912, allocations: 50.94 kB / 432.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2913, allocations: 61.92 kB / 432.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.2914, allocations: 111.4 kB / 432.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.2916, allocations: 244.4 kB / 433 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.2921, allocations: 0.5593 MB / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2921, allocations: 0 / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2921, allocations: 1.812 kB / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.2921, allocations: 0 / 433.6 MB, free: 7.531 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.001362/0.2935, allocations: 0.8056 MB / 434.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2935, allocations: 9.219 kB / 434.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.589e-05/0.2935, allocations: 9.688 kB / 434.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.2936, allocations: 75.41 kB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.2938, allocations: 70.23 kB / 434.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.2941, allocations: 318.9 kB / 434.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2941, allocations: 29.5 kB / 434.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.2942, allocations: 33.72 kB / 434.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.2952, allocations: 0.5033 MB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2952, allocations: 3.938 kB / 435.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2952, allocations: 22.72 kB / 435.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2952, allocations: 7.812 kB / 435.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.2965, allocations: 0.4944 MB / 435.9 MB, free: 6.625 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.002284/0.2988, allocations: 1.666 MB / 437.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2999, allocations: 401.6 kB / 438 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.3004, allocations: 223.8 kB / 438.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.3004, allocations: 9.562 kB / 438.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3005, allocations: 39.5 kB / 438.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.3005, allocations: 0 / 438.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00486/0.3053, allocations: 1.357 MB / 439.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3054, allocations: 159.5 kB / 439.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3057, allocations: 278.4 kB / 440 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3057, allocations: 32.7 kB / 440.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.3058, allocations: 211.4 kB / 440.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.3059, allocations: 143.5 kB / 440.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.306, allocations: 74.78 kB / 440.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.3061, allocations: 349.6 kB / 440.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.3066, allocations: 182.3 kB / 441 MB, free: 4.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.3071, allocations: 281.8 kB / 441.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.3081, allocations: 425.1 kB / 441.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3081, allocations: 1.281 kB / 441.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001846/0.3099, allocations: 0.6783 MB / 442.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3099, allocations: 5.156 kB / 442.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3099, allocations: 2.344 kB / 442.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3112, allocations: 321.9 kB / 442.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3115, allocations: 79.47 kB / 442.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009798/0.3125, allocations: 1.353 MB / 444.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.3129, allocations: 72.91 kB / 444.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.313, allocations: 16.11 kB / 444.2 MB, free: 2.242 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.0001589/0.3131, allocations: 162.9 kB / 444.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3132, allocations: 38.25 kB / 444.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.3152, allocations: 0.7217 MB / 445.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3153, allocations: 5.406 kB / 445.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3153, allocations: 0 / 445.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3153, allocations: 6.156 kB / 445.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.3157, allocations: 467.8 kB / 445.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3158, allocations: 5.5 kB / 445.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.316, allocations: 62.8 kB / 445.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.3172, allocations: 320.2 kB / 446 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.3172, allocations: 11.45 kB / 446 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009045/0.3181, allocations: 1.363 MB / 447.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3181, allocations: 3.562 kB / 447.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3206, allocations: 1.016 MB / 448.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3207, allocations: 116.2 kB / 448.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3208, allocations: 7.047 kB / 448.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.3212, allocations: 49.73 kB / 448.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3212, allocations: 26.34 kB / 448.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3213, allocations: 10.38 kB / 448.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3215, allocations: 194.8 kB / 448.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3215, allocations: 1.062 kB / 448.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000431/0.322, allocations: 113.5 kB / 448.9 MB, free: 15.57 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.002994/0.3249, allocations: 1.558 MB / 450.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3262, allocations: 458.1 kB / 450.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3262, allocations: 448 / 450.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.3269, allocations: 246.2 kB / 451.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3273, allocations: 47.48 kB / 451.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.3352, allocations: 4.075 MB / 455.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3356, allocations: 0.7983 MB / 456.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3357, allocations: 32.05 kB / 456.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.3359, allocations: 122.8 kB / 456.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3359, allocations: 0 / 456.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.3666, allocations: 9.491 MB / 465.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.45, allocations: 11.39 kB / 465.7 MB, free: 7.051 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.053820737055503]