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.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.006286/0.006286, allocations: 114.3 kB / 21.97 MB, free: 5.203 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.001384/0.001384, allocations: 210.4 kB / 25.27 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 53.34 kB / 348 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2603, allocations: 49.15 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003798/0.2641, allocations: 3.133 MB / 400.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2656, allocations: 0.837 MB / 401.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2658, allocations: 9.156 kB / 401.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.2659, allocations: 58.25 kB / 401.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2661, allocations: 115.8 kB / 401.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.2665, allocations: 144.6 kB / 401.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.267, allocations: 0.534 MB / 402 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.2672, allocations: 124.4 kB / 402.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.2675, allocations: 222.4 kB / 402.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.2678, allocations: 256.8 kB / 402.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.2679, allocations: 51.09 kB / 402.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2681, allocations: 55.69 kB / 402.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.188e-05/0.2681, allocations: 108.6 kB / 402.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.2683, allocations: 249.8 kB / 403 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.2689, allocations: 0.5477 MB / 403.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.269, allocations: 0 / 403.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.269, allocations: 0 / 403.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.269, allocations: 4 kB / 403.6 MB, free: 4.934 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.001487/0.2705, allocations: 0.7214 MB / 404.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2705, allocations: 13.86 kB / 404.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.601e-05/0.2705, allocations: 9.844 kB / 404.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.2706, allocations: 80.03 kB / 404.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2707, allocations: 49.56 kB / 404.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2711, allocations: 252.3 kB / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2711, allocations: 28.88 kB / 404.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.2712, allocations: 36.34 kB / 404.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2722, allocations: 0.508 MB / 405.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2723, allocations: 0 / 405.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2723, allocations: 15.59 kB / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.2723, allocations: 12.53 kB / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.2736, allocations: 0.4991 MB / 405.8 MB, free: 3.75 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.276, allocations: 1.627 MB / 407.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2771, allocations: 398.3 kB / 407.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.2776, allocations: 223.2 kB / 408 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.2776, allocations: 7.219 kB / 408 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2776, allocations: 42.36 kB / 408.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.013e-06/0.2776, allocations: 0 / 408.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004733/0.2824, allocations: 1.217 MB / 409.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2824, allocations: 164.6 kB / 409.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.2828, allocations: 263.2 kB / 409.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.2828, allocations: 32.33 kB / 409.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.283, allocations: 212.3 kB / 409.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2831, allocations: 151 kB / 410.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2832, allocations: 72.72 kB / 410.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.2833, allocations: 345.1 kB / 410.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2838, allocations: 177.2 kB / 410.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.2843, allocations: 280.5 kB / 410.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.2853, allocations: 423.4 kB / 411.3 MB, free: 432 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2853, allocations: 0 / 411.3 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001898/0.2872, allocations: 0.6817 MB / 412 MB, free: 60 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2872, allocations: 6.031 kB / 412 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2872, allocations: 1.625 kB / 412 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.2887, allocations: 318.6 kB / 412.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.2891, allocations: 80.84 kB / 412.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.2906, allocations: 1.353 MB / 413.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.2911, allocations: 80.73 kB / 413.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.2911, allocations: 14.59 kB / 413.9 MB, free: 14.61 MB / 334.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.000241/0.2914, allocations: 153.4 kB / 414 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2914, allocations: 36.33 kB / 414.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.2937, allocations: 0.7286 MB / 414.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2938, allocations: 4.312 kB / 414.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2938, allocations: 0 / 414.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.2938, allocations: 7.922 kB / 414.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.2945, allocations: 439.2 kB / 415.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2945, allocations: 0 / 415.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2948, allocations: 62.39 kB / 415.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.296, allocations: 322.3 kB / 415.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.2961, allocations: 11.34 kB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.2975, allocations: 1.363 MB / 417 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2975, allocations: 0 / 417 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.3003, allocations: 1.007 MB / 418 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3004, allocations: 42.45 kB / 418 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.3005, allocations: 10.03 kB / 418 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.3009, allocations: 43.27 kB / 418.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.301, allocations: 23.56 kB / 418.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.301, allocations: 12.72 kB / 418.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.3013, allocations: 192.1 kB / 418.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3013, allocations: 4 kB / 418.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.3019, allocations: 113.8 kB / 418.4 MB, free: 11.45 MB / 334.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.003226/0.3051, allocations: 1.566 MB / 420 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.3065, allocations: 455.4 kB / 420.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3065, allocations: 1.156 kB / 420.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.3071, allocations: 232.8 kB / 420.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3077, allocations: 51.3 kB / 420.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/0.3166, allocations: 4.045 MB / 424.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.3172, allocations: 0.7995 MB / 425.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.3173, allocations: 22.98 kB / 425.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.3175, allocations: 123.4 kB / 425.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3175, allocations: 0 / 425.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.3543, allocations: 9.793 MB / 435.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.47, allocations: 4.062 kB / 435.5 MB, free: 12.11 MB / 350.1 MB " [Timeout remaining time 646] (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 --stepSize=0.000989903 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.192290329025127]