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.001306/0.001306, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001438/0.001438, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.381/1.381, allocations: 230.5 MB / 257.4 MB, free: 8.027 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2357, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004537/0.2403, allocations: 3.183 MB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2418, allocations: 0.8622 MB / 435.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.242, allocations: 11.94 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2422, allocations: 63.36 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2424, allocations: 114.9 kB / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.2428, allocations: 151.7 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.2433, allocations: 0.554 MB / 436.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.2436, allocations: 120.8 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.2439, allocations: 239.2 kB / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.2442, allocations: 255 kB / 436.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.2443, allocations: 52 kB / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2444, allocations: 60 kB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.2445, allocations: 115.7 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.2447, allocations: 238.8 kB / 437.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.2453, allocations: 0.5607 MB / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2453, allocations: 0 / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2453, allocations: 0 / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2453, allocations: 0 / 437.7 MB, free: 100 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.001568/0.2469, allocations: 0.7315 MB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2469, allocations: 11.97 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.247, allocations: 82.7 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.2472, allocations: 56.61 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2476, allocations: 265.2 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2477, allocations: 29.38 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.2477, allocations: 40.38 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2488, allocations: 0.5084 MB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2488, allocations: 0 / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.2489, allocations: 16 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2489, allocations: 12 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2502, allocations: 0.4918 MB / 440 MB, free: 13.77 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.002609/0.2528, allocations: 1.621 MB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2539, allocations: 413.2 kB / 442 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.2543, allocations: 220.8 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.2544, allocations: 12.31 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2544, allocations: 38.89 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.2544, allocations: 3.938 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004783/0.2592, allocations: 1.207 MB / 443.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2593, allocations: 162.2 kB / 443.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.2597, allocations: 276.2 kB / 443.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2597, allocations: 33.7 kB / 443.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2599, allocations: 216.7 kB / 444.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.26, allocations: 142.8 kB / 444.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.2601, allocations: 74.14 kB / 444.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2603, allocations: 346.7 kB / 444.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.2608, allocations: 188.7 kB / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.2614, allocations: 278.5 kB / 445.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/0.2624, allocations: 422.5 kB / 445.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2624, allocations: 0 / 445.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001824/0.2642, allocations: 0.6782 MB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2642, allocations: 8 kB / 446.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2642, allocations: 3.984 kB / 446.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.2655, allocations: 317.5 kB / 446.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2659, allocations: 83.81 kB / 446.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.2673, allocations: 1.347 MB / 448 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.2678, allocations: 83.59 kB / 448.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.2678, allocations: 16.19 kB / 448.1 MB, free: 5.273 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.0002072/0.268, allocations: 153.8 kB / 448.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.2681, allocations: 43.7 kB / 448.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.2703, allocations: 0.7162 MB / 449 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2703, allocations: 4 kB / 449 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2703, allocations: 0 / 449 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2703, allocations: 0 / 449 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.2709, allocations: 444.2 kB / 449.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2709, allocations: 7.984 kB / 449.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.2712, allocations: 55.95 kB / 449.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.2724, allocations: 325.2 kB / 449.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.2725, allocations: 12 kB / 449.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.2739, allocations: 1.354 MB / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2739, allocations: 0 / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.2765, allocations: 1.023 MB / 452.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.2766, allocations: 39.67 kB / 452.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.2766, allocations: 11.98 kB / 452.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.277, allocations: 44.02 kB / 452.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.2771, allocations: 27.73 kB / 452.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.2771, allocations: 15.98 kB / 452.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.2773, allocations: 191.1 kB / 452.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2773, allocations: 0 / 452.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2778, allocations: 111.8 kB / 452.6 MB, free: 0.5742 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.003019/0.2808, allocations: 1.568 MB / 454.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.282, allocations: 463.7 kB / 454.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.282, allocations: 0 / 454.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.2826, allocations: 236.2 kB / 454.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.2831, allocations: 50.62 kB / 454.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.2906, allocations: 4.076 MB / 459 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.2911, allocations: 0.7956 MB / 459.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.2912, allocations: 34.95 kB / 459.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.2914, allocations: 127.3 kB / 460 MB, free: 9.062 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2914, allocations: 0 / 460 MB, free: 9.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.3338, allocations: 9.826 MB / 469.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.3, allocations: 4 kB / 469.8 MB, free: 15.36 MB / 382.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.703436860116199]