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.001367/0.001367, allocations: 115.8 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.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.001478/0.001478, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.448/1.448, allocations: 230.6 MB / 257.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2485, allocations: 53.36 MB / 431.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004925/0.2535, allocations: 3.189 MB / 434.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.2553, allocations: 0.8701 MB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2554, allocations: 4 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.2557, allocations: 59.31 kB / 435.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2559, allocations: 122.9 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.2563, allocations: 159.7 kB / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.2569, allocations: 0.5423 MB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.2571, allocations: 124.8 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.2575, allocations: 231.3 kB / 436.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.2579, allocations: 259 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.2579, allocations: 48 kB / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2581, allocations: 59.98 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2582, allocations: 123.6 kB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.2584, allocations: 242.8 kB / 437.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.259, allocations: 0.5568 MB / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.259, allocations: 0 / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.259, allocations: 0 / 437.7 MB, free: 416 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.259, allocations: 0 / 437.7 MB, free: 416 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.001609/0.2607, allocations: 0.7391 MB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2607, allocations: 8.031 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.2608, allocations: 74.72 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.261, allocations: 64.59 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.2615, allocations: 257.2 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.2616, allocations: 33.3 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.2617, allocations: 40.38 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2628, allocations: 0.5046 MB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2629, allocations: 0 / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.2629, allocations: 16 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.2629, allocations: 8 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2643, allocations: 0.5035 MB / 439.9 MB, free: 14.09 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.002782/0.2671, allocations: 1.621 MB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2682, allocations: 397.3 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.2687, allocations: 219.3 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.2688, allocations: 20.3 kB / 442.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.2688, allocations: 38.83 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/0.2688, allocations: 0 / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004748/0.2736, allocations: 1.207 MB / 443.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2737, allocations: 166.2 kB / 443.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.2741, allocations: 272.2 kB / 443.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.2741, allocations: 33.7 kB / 443.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2743, allocations: 216.7 kB / 444.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.2744, allocations: 138.8 kB / 444.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2746, allocations: 74.12 kB / 444.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2747, allocations: 346.8 kB / 444.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.2752, allocations: 180.8 kB / 444.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.2758, allocations: 286.5 kB / 445.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2768, allocations: 422.6 kB / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.2769, allocations: 3.984 kB / 445.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001865/0.2787, allocations: 0.6781 MB / 446.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2787, allocations: 4 kB / 446.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2787, allocations: 7.938 kB / 446.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.2801, allocations: 317.4 kB / 446.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2804, allocations: 79.88 kB / 446.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.2818, allocations: 1.347 MB / 447.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.2822, allocations: 79.8 kB / 448 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2822, allocations: 12 kB / 448 MB, free: 5.613 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.0002215/0.2825, allocations: 165.8 kB / 448.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.2825, allocations: 39.75 kB / 448.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.2847, allocations: 0.7124 MB / 449 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.2847, allocations: 7.984 kB / 449 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2847, allocations: 4 kB / 449 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2847, allocations: 7.984 kB / 449 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.2853, allocations: 440.2 kB / 449.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2853, allocations: 4 kB / 449.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2856, allocations: 59.89 kB / 449.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.2867, allocations: 321.3 kB / 449.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.2868, allocations: 11.98 kB / 449.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.2881, allocations: 1.354 MB / 451.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2881, allocations: 0 / 451.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.2906, allocations: 1.023 MB / 452.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.2907, allocations: 39.67 kB / 452.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.2907, allocations: 8 kB / 452.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.2911, allocations: 44.02 kB / 452.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.2912, allocations: 31.72 kB / 452.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2912, allocations: 8 kB / 452.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.2914, allocations: 199.1 kB / 452.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2914, allocations: 0 / 452.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.2919, allocations: 115.8 kB / 452.6 MB, free: 0.8984 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.002886/0.2948, allocations: 1.561 MB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.296, allocations: 459.3 kB / 454.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.296, allocations: 0 / 454.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.2966, allocations: 244.2 kB / 454.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.297, allocations: 48.52 kB / 454.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.3046, allocations: 4.071 MB / 459 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.3051, allocations: 0.7956 MB / 459.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3052, allocations: 34.97 kB / 459.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.3054, allocations: 123.4 kB / 459.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3054, allocations: 0 / 459.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.3486, allocations: 9.851 MB / 469.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.65, allocations: 4 kB / 469.8 MB, free: 15.7 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.16482955007814]