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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2501, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003957/0.2541, allocations: 3.158 MB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2559, allocations: 0.8546 MB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2561, allocations: 4 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.2564, allocations: 63.31 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.2567, allocations: 114.9 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2572, allocations: 163.7 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.2577, allocations: 0.5424 MB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.258, allocations: 168.3 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.2584, allocations: 231.2 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.2587, allocations: 251 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.2588, allocations: 52 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.2589, allocations: 59.98 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.259, allocations: 111.7 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2592, allocations: 242.8 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.2598, allocations: 0.5578 MB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2598, allocations: 0 / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2598, allocations: 4 kB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2598, allocations: 0 / 416.5 MB, free: 11.04 MB / 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.001563/0.2614, allocations: 0.7993 MB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2614, allocations: 8.031 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.2616, allocations: 64.36 kB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.262, allocations: 311.3 kB / 417.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.262, allocations: 29.38 kB / 417.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.2621, allocations: 36.38 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2631, allocations: 0.5048 MB / 418.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2632, allocations: 0 / 418.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.2632, allocations: 16 kB / 418.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2632, allocations: 8 kB / 418.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2646, allocations: 0.5035 MB / 418.8 MB, free: 8.652 MB / 334.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.002441/0.267, allocations: 1.647 MB / 420.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2681, allocations: 439.5 kB / 420.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.2686, allocations: 244.8 kB / 421.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2687, allocations: 12.31 kB / 421.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2687, allocations: 42.83 kB / 421.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.2687, allocations: 0 / 421.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004942/0.2737, allocations: 1.361 MB / 422.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.2737, allocations: 158.2 kB / 422.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.2741, allocations: 278.9 kB / 422.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2741, allocations: 37.69 kB / 422.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2743, allocations: 216.3 kB / 423.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2744, allocations: 130 kB / 423.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2745, allocations: 74.12 kB / 423.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2746, allocations: 346.8 kB / 423.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.2752, allocations: 176.8 kB / 423.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.2757, allocations: 286.5 kB / 424.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.2767, allocations: 430.5 kB / 424.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2767, allocations: 0 / 424.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001832/0.2786, allocations: 0.6819 MB / 425.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2786, allocations: 4 kB / 425.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2786, allocations: 4.062 kB / 425.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.2799, allocations: 321.3 kB / 425.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.2803, allocations: 79.88 kB / 425.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.2815, allocations: 1.343 MB / 427 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.2819, allocations: 79.66 kB / 427.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.282, allocations: 23.92 kB / 427.1 MB, free: 15.88 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.0001873/0.2822, allocations: 157.7 kB / 427.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.2822, allocations: 31.62 kB / 427.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.2844, allocations: 0.724 MB / 428 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.2844, allocations: 4 kB / 428 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2844, allocations: 3.984 kB / 428 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2844, allocations: 4 kB / 428 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.285, allocations: 464.9 kB / 428.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.285, allocations: 4 kB / 428.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.2853, allocations: 67.88 kB / 428.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.2865, allocations: 317.4 kB / 428.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2865, allocations: 12 kB / 428.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.2877, allocations: 1.362 MB / 430.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2877, allocations: 0 / 430.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.2902, allocations: 1.019 MB / 431.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.2903, allocations: 116.6 kB / 431.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.2904, allocations: 8 kB / 431.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.2908, allocations: 43.94 kB / 431.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.2909, allocations: 27.75 kB / 431.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.2909, allocations: 15.98 kB / 431.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.2911, allocations: 194 kB / 431.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 192 / 431.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.2916, allocations: 111.8 kB / 431.7 MB, free: 11.06 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.000171/0.2918, allocations: 124.4 kB / 431.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.293, allocations: 475.3 kB / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.293, allocations: 0 / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.2936, allocations: 260.3 kB / 432.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.294, allocations: 42.78 kB / 432.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2956, allocations: 0.8912 MB / 433.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.296, allocations: 0.7956 MB / 434.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.2961, allocations: 23.44 kB / 434.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2961, allocations: 0 / 434.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of Templates: time 0.00867/0.3048, allocations: 7.214 MB / 441.6 MB, free: 1.18 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches