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.001423/0.001423, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001442/0.001442, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.353/1.353, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001439/0.001439, allocations: 47.92 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2133, allocations: 53.36 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004297/0.2176, allocations: 3.198 MB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2191, allocations: 0.8584 MB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.2193, allocations: 7.938 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2195, allocations: 67.36 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2197, allocations: 110.9 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.2201, allocations: 159.7 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.2206, allocations: 0.5462 MB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2209, allocations: 128.8 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2212, allocations: 231.3 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.2215, allocations: 255 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.373e-05/0.2216, allocations: 52 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2217, allocations: 60 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.2218, allocations: 115.6 kB / 437.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.222, allocations: 242.8 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.2226, allocations: 0.5564 MB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2226, allocations: 0 / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2226, allocations: 0 / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.2226, allocations: 4 kB / 438.5 MB, free: 288 kB / 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.001552/0.2242, allocations: 0.7352 MB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2242, allocations: 8.031 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.344e-05/0.2242, allocations: 13.19 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.737e-05/0.2243, allocations: 82.7 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.2245, allocations: 56.61 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.2249, allocations: 269.1 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.2249, allocations: 29.38 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.225, allocations: 36.38 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.2261, allocations: 0.5005 MB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2261, allocations: 3.938 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.2261, allocations: 16 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2261, allocations: 16 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2275, allocations: 0.4957 MB / 440.7 MB, free: 13.95 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.002535/0.23, allocations: 1.624 MB / 442.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2311, allocations: 401.3 kB / 442.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.2316, allocations: 221.4 kB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.2317, allocations: 8.312 kB / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2317, allocations: 38.89 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.2317, allocations: 4 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004815/0.2365, allocations: 1.21 MB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.2366, allocations: 158.2 kB / 444.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2369, allocations: 272.2 kB / 444.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.237, allocations: 37.69 kB / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2371, allocations: 212.7 kB / 444.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2372, allocations: 138.8 kB / 445 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.2374, allocations: 82.08 kB / 445.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2375, allocations: 346.8 kB / 445.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.238, allocations: 180.8 kB / 445.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.2386, allocations: 282.5 kB / 445.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.2396, allocations: 426.5 kB / 446.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2396, allocations: 4 kB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001849/0.2415, allocations: 0.6666 MB / 447 MB, free: 7.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2415, allocations: 19.88 kB / 447 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2415, allocations: 0 / 447 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2428, allocations: 317.4 kB / 447.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.2431, allocations: 79.88 kB / 447.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2444, allocations: 1.347 MB / 448.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.2449, allocations: 79.73 kB / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.2449, allocations: 19.98 kB / 448.8 MB, free: 5.465 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.0001972/0.2451, allocations: 153.8 kB / 449 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.2452, allocations: 43.75 kB / 449 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.2474, allocations: 0.7162 MB / 449.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2474, allocations: 7.938 kB / 449.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2474, allocations: 3.984 kB / 449.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2474, allocations: 0 / 449.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.2479, allocations: 440.2 kB / 450.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2479, allocations: 0 / 450.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2482, allocations: 63.94 kB / 450.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.2494, allocations: 325.3 kB / 450.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.2495, allocations: 12 kB / 450.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.2508, allocations: 1.358 MB / 451.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2508, allocations: 0 / 451.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.2534, allocations: 1.016 MB / 453 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.2534, allocations: 43.67 kB / 453 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.2535, allocations: 4 kB / 453 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.2538, allocations: 47.94 kB / 453.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.2539, allocations: 31.67 kB / 453.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.2539, allocations: 12.05 kB / 453.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.2542, allocations: 203 kB / 453.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2542, allocations: 0 / 453.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.2546, allocations: 107.8 kB / 453.4 MB, free: 0.7578 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.002907/0.2575, allocations: 1.564 MB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2588, allocations: 459.5 kB / 455.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2588, allocations: 0 / 455.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.2594, allocations: 240 kB / 455.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2598, allocations: 44.77 kB / 455.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.2672, allocations: 4.079 MB / 459.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2676, allocations: 0.7956 MB / 460.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.2677, allocations: 26.98 kB / 460.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2679, allocations: 123.4 kB / 460.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2679, allocations: 4 kB / 460.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.3015, allocations: 9.877 MB / 470.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/12.95, allocations: 10.45 kB / 470.6 MB, free: 15.54 MB / 382.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.453101492021233]