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.001364/0.001364, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001192/0.001192, allocations: 193.2 kB / 19.33 MB, free: 3.781 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.398/1.398, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001306/0.001306, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.0808, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004257/0.0851, allocations: 3.086 MB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.08672, allocations: 0.8353 MB / 379.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.08701, allocations: 4 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.08727, allocations: 63.38 kB / 379.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.08757, allocations: 110.9 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.08804, allocations: 147.7 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.18/0.2681, allocations: 0.5331 MB / 380.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.2685, allocations: 163.1 kB / 380.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.269, allocations: 217.6 kB / 381 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.2693, allocations: 250.4 kB / 381.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.2694, allocations: 50.66 kB / 381.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2695, allocations: 58.3 kB / 381.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.2696, allocations: 116.1 kB / 381.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2699, allocations: 236.1 kB / 381.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006874/0.2706, allocations: 0.5487 MB / 382.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2706, allocations: 1.406 kB / 382.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2706, allocations: 1.375 kB / 382.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2706, allocations: 0 / 382.2 MB, free: 9.688 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.001736/0.2723, allocations: 0.7869 MB / 383 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.2724, allocations: 10.27 kB / 383 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.2725, allocations: 44.53 kB / 383.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.273, allocations: 310.7 kB / 383.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.2731, allocations: 28.25 kB / 383.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.2732, allocations: 35.88 kB / 383.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.2744, allocations: 0.5009 MB / 383.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2744, allocations: 4.453 kB / 383.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.2745, allocations: 17.31 kB / 383.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2745, allocations: 13.28 kB / 384 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2759, allocations: 0.497 MB / 384.5 MB, free: 8.836 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.002684/0.2786, allocations: 1.667 MB / 386.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2797, allocations: 428.9 kB / 386.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.2803, allocations: 242 kB / 386.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.2803, allocations: 7.016 kB / 386.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2804, allocations: 42.25 kB / 386.8 MB, free: 7.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.2804, allocations: 4 kB / 386.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005185/0.2856, allocations: 1.365 MB / 388.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2857, allocations: 159.3 kB / 388.3 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.2861, allocations: 271.8 kB / 388.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.2861, allocations: 35.86 kB / 388.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.2862, allocations: 205.7 kB / 388.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.2864, allocations: 136.8 kB / 389 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2865, allocations: 78.75 kB / 389.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.2866, allocations: 342 kB / 389.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2871, allocations: 187.8 kB / 389.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.2877, allocations: 277.2 kB / 389.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/0.2887, allocations: 424.2 kB / 390.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2887, allocations: 5.094 kB / 390.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001874/0.2906, allocations: 0.6786 MB / 390.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2906, allocations: 13.59 kB / 391 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2906, allocations: 4.625 kB / 391 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.292, allocations: 317.8 kB / 391.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.2924, allocations: 75.58 kB / 391.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2936, allocations: 1.354 MB / 392.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.2941, allocations: 75.67 kB / 392.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2942, allocations: 16.69 kB / 392.8 MB, free: 4.16 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.0002147/0.2944, allocations: 156.2 kB / 392.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.2945, allocations: 34.38 kB / 393 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.2967, allocations: 0.7394 MB / 393.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2967, allocations: 4.469 kB / 393.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2968, allocations: 1.312 kB / 393.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2968, allocations: 2.203 kB / 393.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.2974, allocations: 466.2 kB / 394.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2974, allocations: 0 / 394.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2978, allocations: 54.81 kB / 394.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.299, allocations: 327.3 kB / 394.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.2991, allocations: 8.953 kB / 394.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.3002, allocations: 1.359 MB / 395.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3002, allocations: 0.5156 kB / 395.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.3029, allocations: 1.015 MB / 396.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.303, allocations: 111.5 kB / 397 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.3031, allocations: 10.84 kB / 397.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.3035, allocations: 41.58 kB / 397.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.3036, allocations: 29.53 kB / 397.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3036, allocations: 13.67 kB / 397.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.3039, allocations: 192.1 kB / 397.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3039, allocations: 4.5 kB / 397.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3043, allocations: 109.9 kB / 397.4 MB, free: 1.48 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.0001758/0.3045, allocations: 116.6 kB / 397.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3059, allocations: 477.5 kB / 398 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3059, allocations: 4.438 kB / 398 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3066, allocations: 248.9 kB / 398.3 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.307, allocations: 47.03 kB / 398.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3087, allocations: 0.895 MB / 399.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.309, allocations: 0.7968 MB / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3092, allocations: 25.81 kB / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3092, allocations: 0 / 400 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.01096/0.3201, allocations: 7.143 MB / 407.2 MB, free: 12.74 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