Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 43.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2604, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.0048/0.2652, allocations: 3.169 MB / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2667, allocations: 0.7962 MB / 426.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2669, allocations: 7.938 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.2671, allocations: 55.38 kB / 426.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2673, allocations: 118.9 kB / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.2677, allocations: 151.7 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.2683, allocations: 0.5501 MB / 427.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.2685, allocations: 128.7 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.2688, allocations: 215.4 kB / 427.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.2691, allocations: 259 kB / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.2692, allocations: 52 kB / 428.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2693, allocations: 59.98 kB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2694, allocations: 111.6 kB / 428.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.2697, allocations: 242.8 kB / 428.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.2703, allocations: 0.5568 MB / 429.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2703, allocations: 0 / 429.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2703, allocations: 0 / 429.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2703, allocations: 4 kB / 429.1 MB, free: 8.109 MB / 334.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.001636/0.272, allocations: 0.7274 MB / 429.8 MB, free: 7.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.272, allocations: 12.02 kB / 429.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.494e-05/0.2721, allocations: 74.72 kB / 429.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.2722, allocations: 52.66 kB / 430 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.2726, allocations: 252.8 kB / 430.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.2727, allocations: 25.38 kB / 430.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.2727, allocations: 36.38 kB / 430.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.2738, allocations: 0.5085 MB / 430.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2738, allocations: 3.938 kB / 430.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.2739, allocations: 16 kB / 430.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2739, allocations: 8 kB / 430.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2752, allocations: 0.4996 MB / 431.3 MB, free: 5.816 MB / 334.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.002641/0.2778, allocations: 1.621 MB / 432.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2789, allocations: 410.9 kB / 433.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.2794, allocations: 223.1 kB / 433.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.2794, allocations: 16.3 kB / 433.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2795, allocations: 38.89 kB / 433.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.2795, allocations: 0 / 433.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004665/0.2842, allocations: 1.207 MB / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.2843, allocations: 166.2 kB / 435 MB, free: 1.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.2846, allocations: 272.2 kB / 435.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.2846, allocations: 37.7 kB / 435.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2848, allocations: 208.7 kB / 435.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2849, allocations: 150.7 kB / 435.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2851, allocations: 74.09 kB / 435.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2852, allocations: 342.8 kB / 436 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.2857, allocations: 184.7 kB / 436.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.2863, allocations: 274.5 kB / 436.5 MB, free: 376 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.2873, allocations: 434.6 kB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2873, allocations: 4 kB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001765/0.289, allocations: 0.6782 MB / 437.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2891, allocations: 4 kB / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2891, allocations: 4 kB / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.2903, allocations: 321.4 kB / 437.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.2907, allocations: 79.88 kB / 438 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.292, allocations: 1.35 MB / 439.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.2924, allocations: 75.84 kB / 439.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.2925, allocations: 19.98 kB / 439.4 MB, free: 13.32 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.0002007/0.2927, allocations: 153.8 kB / 439.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.2927, allocations: 35.77 kB / 439.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.2948, allocations: 0.7162 MB / 440.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2948, allocations: 4 kB / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2948, allocations: 3.984 kB / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2948, allocations: 0 / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.2953, allocations: 443.8 kB / 440.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2953, allocations: 0 / 440.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.2956, allocations: 63.88 kB / 440.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.2968, allocations: 321.4 kB / 441.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.2968, allocations: 8 kB / 441.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.2981, allocations: 1.362 MB / 442.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2981, allocations: 0 / 442.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.3005, allocations: 1.016 MB / 443.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.3006, allocations: 39.8 kB / 443.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.3006, allocations: 8 kB / 443.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.301, allocations: 43.94 kB / 443.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.301, allocations: 23.95 kB / 443.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3011, allocations: 12 kB / 443.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.3013, allocations: 195.1 kB / 443.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3013, allocations: 4.188 kB / 443.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.3017, allocations: 111.8 kB / 444 MB, free: 8.637 MB / 350.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.002834/0.3045, allocations: 1.568 MB / 445.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.3057, allocations: 451.5 kB / 446 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3057, allocations: 0 / 446 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.3064, allocations: 239.8 kB / 446.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3067, allocations: 52.95 kB / 446.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007315/0.3141, allocations: 4.058 MB / 450.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.3145, allocations: 0.7995 MB / 451.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.3147, allocations: 34.95 kB / 451.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.3148, allocations: 123.4 kB / 451.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3148, allocations: 0 / 451.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/0.3561, allocations: 9.804 MB / 461.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.29, allocations: 19.23 kB / 461.1 MB, free: 7.473 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.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.747851219959557]