Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 109.3 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 184.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 46.62 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00462/0.1097, allocations: 3.1 MB / 377.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1113, allocations: 0.8236 MB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1114, allocations: 8 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1117, allocations: 59.38 kB / 378.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1119, allocations: 114.9 kB / 378.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1123, allocations: 147.7 kB / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.1129, allocations: 0.5346 MB / 379.4 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1132, allocations: 164.3 kB / 379.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2081/0.3213, allocations: 215.7 kB / 379.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.3218, allocations: 248.6 kB / 380 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.322, allocations: 52.19 kB / 380.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3221, allocations: 54.8 kB / 380.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.3222, allocations: 114.7 kB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3224, allocations: 240.9 kB / 380.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007167/0.3232, allocations: 0.5505 MB / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3232, allocations: 6.719 kB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3232, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3232, allocations: 0 / 381.1 MB, free: 9.305 MB / 318.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.001509/0.3247, allocations: 0.7991 MB / 381.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3248, allocations: 10.56 kB / 381.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3249, allocations: 75.42 kB / 381.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.325, allocations: 50.12 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3254, allocations: 308.8 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3255, allocations: 26.72 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.3255, allocations: 40.84 kB / 382.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3268, allocations: 0.4975 MB / 382.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3268, allocations: 0 / 382.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.3269, allocations: 20.84 kB / 382.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.3269, allocations: 9.516 kB / 382.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.3283, allocations: 0.4981 MB / 383.4 MB, free: 8.41 MB / 318.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.002396/0.3307, allocations: 1.679 MB / 385.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3318, allocations: 421 kB / 385.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.3323, allocations: 243.8 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.3323, allocations: 11.45 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3323, allocations: 38.55 kB / 385.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.3324, allocations: 0 / 385.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004867/0.3372, allocations: 1.366 MB / 387.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3373, allocations: 164.3 kB / 387.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.3376, allocations: 266.6 kB / 387.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3377, allocations: 31.89 kB / 387.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3378, allocations: 211.2 kB / 387.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.3379, allocations: 141.7 kB / 387.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.338, allocations: 75.12 kB / 388 MB, free: 6.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.3381, allocations: 340 kB / 388.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.3386, allocations: 195.3 kB / 388.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.3392, allocations: 276 kB / 388.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.3401, allocations: 429.1 kB / 389.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3402, allocations: 1.062 kB / 389.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001823/0.342, allocations: 0.687 MB / 389.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.342, allocations: 6.25 kB / 389.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.342, allocations: 4.031 kB / 389.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3433, allocations: 325.6 kB / 390.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.3437, allocations: 75.98 kB / 390.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000993/0.3447, allocations: 1.349 MB / 391.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3452, allocations: 73.52 kB / 391.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.3452, allocations: 18.88 kB / 391.7 MB, free: 3.93 MB / 318.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.0001584/0.3454, allocations: 167.9 kB / 391.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.3454, allocations: 36.89 kB / 391.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3476, allocations: 0.7248 MB / 392.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3476, allocations: 5.094 kB / 392.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3476, allocations: 2.812 kB / 392.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3476, allocations: 7.125 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.3483, allocations: 471.5 kB / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3483, allocations: 0 / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.3487, allocations: 58.14 kB / 393.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.35, allocations: 319.8 kB / 393.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.35, allocations: 12.14 kB / 393.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.3512, allocations: 1.36 MB / 394.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3512, allocations: 5.406 kB / 394.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.3539, allocations: 1.02 MB / 395.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.354, allocations: 111.7 kB / 396 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.3541, allocations: 11.78 kB / 396 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.3544, allocations: 44.5 kB / 396.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3545, allocations: 26.16 kB / 396.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.3546, allocations: 13.7 kB / 396.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.3548, allocations: 188.3 kB / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3548, allocations: 0 / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.3553, allocations: 111.3 kB / 396.4 MB, free: 1.242 MB / 318.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.002837/0.3582, allocations: 1.572 MB / 398 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3595, allocations: 474.5 kB / 398.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3595, allocations: 448 / 398.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.3601, allocations: 259.4 kB / 398.7 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.3605, allocations: 48.09 kB / 398.7 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.3682, allocations: 4.051 MB / 402.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.3686, allocations: 0.7914 MB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.3688, allocations: 35.23 kB / 403.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.369, allocations: 125.6 kB / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.369, allocations: 0 / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.4065, allocations: 9.315 MB / 413 MB, free: 7.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.87, allocations: 11.91 kB / 413.1 MB, free: 7.805 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches