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: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.00138, allocations: 103.3 kB / 18.4 MB, free: 4.531 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.001368/0.001368, allocations: 189.1 kB / 19.33 MB, free: 3.605 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.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001342/0.001342, allocations: 55.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08944, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004626/0.09411, allocations: 3.09 MB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.09594, allocations: 0.8353 MB / 379.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.09631, allocations: 4 kB / 379.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.09661, allocations: 59.38 kB / 379.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.09694, allocations: 114.9 kB / 379.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.09746, allocations: 147.7 kB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2008/0.2983, allocations: 0.5312 MB / 380.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.2988, allocations: 162.9 kB / 380.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.2995, allocations: 217.2 kB / 381 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.3, allocations: 254.9 kB / 381.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.3002, allocations: 51.31 kB / 381.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.3004, allocations: 54.81 kB / 381.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3006, allocations: 115.5 kB / 381.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.3009, allocations: 236.5 kB / 381.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.3018, allocations: 0.5496 MB / 382.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3018, allocations: 1.375 kB / 382.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3018, allocations: 0 / 382.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.3018, allocations: 0 / 382.2 MB, free: 9.664 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.001729/0.3036, allocations: 0.7894 MB / 383 MB, free: 9.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3036, allocations: 9.312 kB / 383 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3038, allocations: 45.39 kB / 383.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3043, allocations: 310.2 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.3043, allocations: 26.84 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.3044, allocations: 37.62 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.3056, allocations: 0.5022 MB / 383.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3056, allocations: 3.938 kB / 383.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3057, allocations: 16.39 kB / 383.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3057, allocations: 9.844 kB / 384 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.3071, allocations: 0.4994 MB / 384.5 MB, free: 8.812 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.002554/0.3096, allocations: 1.668 MB / 386.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3107, allocations: 433.3 kB / 386.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.3112, allocations: 236.8 kB / 386.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3113, allocations: 10.66 kB / 386.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3113, allocations: 38.3 kB / 386.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.3113, allocations: 0 / 386.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004843/0.3161, allocations: 1.365 MB / 388.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.3163, allocations: 167 kB / 388.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.3167, allocations: 269.5 kB / 388.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.3167, allocations: 31.92 kB / 388.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3168, allocations: 206.8 kB / 388.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3169, allocations: 138.1 kB / 389 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3171, allocations: 79.41 kB / 389.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.3172, allocations: 340.9 kB / 389.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.3177, allocations: 178.9 kB / 389.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.3183, allocations: 287.4 kB / 389.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.3193, allocations: 424.5 kB / 390.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3193, allocations: 1.062 kB / 390.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001812/0.3211, allocations: 0.6792 MB / 390.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3212, allocations: 10.16 kB / 391 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3212, allocations: 5.656 kB / 391 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.3225, allocations: 315.8 kB / 391.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.3229, allocations: 78.38 kB / 391.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.3239, allocations: 1.35 MB / 392.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3245, allocations: 78.64 kB / 392.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3245, allocations: 16.86 kB / 392.8 MB, free: 4.137 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.0002114/0.3247, allocations: 159.2 kB / 392.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.3248, allocations: 32.47 kB / 393 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.3269, allocations: 0.7401 MB / 393.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3269, allocations: 3.719 kB / 393.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.327, allocations: 1.062 kB / 393.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.327, allocations: 2.531 kB / 393.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.3276, allocations: 464.3 kB / 394.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3276, allocations: 1.531 kB / 394.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.3279, allocations: 62.98 kB / 394.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.3292, allocations: 323.5 kB / 394.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.3293, allocations: 7.047 kB / 394.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.3305, allocations: 1.361 MB / 395.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3305, allocations: 0.6094 kB / 395.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.3334, allocations: 1.018 MB / 396.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.3336, allocations: 112.7 kB / 397 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.3337, allocations: 11.67 kB / 397.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.334, allocations: 39.52 kB / 397.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3342, allocations: 25.11 kB / 397.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3342, allocations: 12.08 kB / 397.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.3345, allocations: 198.5 kB / 397.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3345, allocations: 0 / 397.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.3351, allocations: 108.4 kB / 397.4 MB, free: 1.457 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.0002212/0.3353, allocations: 117.1 kB / 397.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3367, allocations: 477.7 kB / 398 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3367, allocations: 0 / 398 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.3374, allocations: 253 kB / 398.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3379, allocations: 55.86 kB / 398.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3398, allocations: 0.8886 MB / 399.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.3403, allocations: 0.7934 MB / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3404, allocations: 25.53 kB / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3404, allocations: 0 / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.0136/0.354, allocations: 7.095 MB / 407.1 MB, free: 12.76 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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