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.001625/0.001625, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002215/0.002215, allocations: 210.7 kB / 24.52 MB, free: 4.07 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.004 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.89 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3183, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004912/0.3233, allocations: 3.192 MB / 435.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3251, allocations: 0.8623 MB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3252, allocations: 7.938 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3254, allocations: 59.38 kB / 436.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3257, allocations: 118.9 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.3261, allocations: 167.7 kB / 436.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.3267, allocations: 0.5462 MB / 436.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.327, allocations: 124.8 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.3274, allocations: 235.2 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.3278, allocations: 259 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.732e-05/0.3279, allocations: 48 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.328, allocations: 60 kB / 437.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3281, allocations: 111.7 kB / 437.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3284, allocations: 246.8 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.3291, allocations: 0.5564 MB / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3291, allocations: 0 / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3291, allocations: 4 kB / 438.5 MB, free: 108 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3291, allocations: 0 / 438.5 MB, free: 108 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.001603/0.3307, allocations: 0.7315 MB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3307, allocations: 8.031 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.065e-05/0.3307, allocations: 17.12 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.3308, allocations: 74.72 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.331, allocations: 64.59 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.3315, allocations: 265.2 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3315, allocations: 21.38 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.3316, allocations: 40.31 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3327, allocations: 0.5044 MB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3327, allocations: 0 / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.3328, allocations: 20 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3328, allocations: 8 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3341, allocations: 0.4996 MB / 440.8 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.002825/0.337, allocations: 1.621 MB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3381, allocations: 404.9 kB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.3386, allocations: 224.8 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.3386, allocations: 4.328 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3387, allocations: 46.89 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.3387, allocations: 0 / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004953/0.3436, allocations: 1.21 MB / 444.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.3438, allocations: 158.2 kB / 444.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.3443, allocations: 280.2 kB / 444.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.3444, allocations: 29.7 kB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3446, allocations: 220.7 kB / 445 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3447, allocations: 134.8 kB / 445.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3449, allocations: 86 kB / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3451, allocations: 342.8 kB / 445.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.3456, allocations: 184.8 kB / 445.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.3463, allocations: 278.5 kB / 446 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3473, allocations: 430.5 kB / 446.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3473, allocations: 0 / 446.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002089/0.3494, allocations: 0.6743 MB / 447 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.3494, allocations: 11.98 kB / 447.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3494, allocations: 0 / 447.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.3507, allocations: 317.4 kB / 447.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.3511, allocations: 79.88 kB / 447.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.3525, allocations: 1.347 MB / 448.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.353, allocations: 83.7 kB / 448.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3531, allocations: 15.98 kB / 448.9 MB, free: 5.293 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.0002534/0.3533, allocations: 157.8 kB / 449 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.3534, allocations: 39.77 kB / 449.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.3555, allocations: 0.7162 MB / 449.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3555, allocations: 4 kB / 449.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3556, allocations: 0 / 449.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3556, allocations: 3.984 kB / 449.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.3561, allocations: 440.4 kB / 450.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3561, allocations: 0 / 450.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3565, allocations: 67.88 kB / 450.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.3577, allocations: 325.3 kB / 450.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.3577, allocations: 4 kB / 450.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.359, allocations: 1.362 MB / 452 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.359, allocations: 0 / 452 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.3617, allocations: 1.023 MB / 453 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3617, allocations: 35.67 kB / 453 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3618, allocations: 8 kB / 453.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.3621, allocations: 51.94 kB / 453.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.3622, allocations: 31.77 kB / 453.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3622, allocations: 12.06 kB / 453.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3625, allocations: 203 kB / 453.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3625, allocations: 0 / 453.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.3629, allocations: 107.8 kB / 453.5 MB, free: 0.582 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.003067/0.366, allocations: 1.561 MB / 455 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3673, allocations: 463.8 kB / 455.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3673, allocations: 4 kB / 455.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.368, allocations: 240 kB / 455.7 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.0004269/0.3684, allocations: 43.39 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.3765, allocations: 4.073 MB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.377, allocations: 0.7956 MB / 460.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3772, allocations: 30.92 kB / 460.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3774, allocations: 131.3 kB / 460.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of SimCode: time 1.843e-06/0.3774, allocations: 0 / 460.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.4131, allocations: 9.861 MB / 470.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.58, allocations: 10.92 kB / 470.6 MB, free: 15.34 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.349336002022028]