Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 178.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 94.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002992/0.257, allocations: 2.638 MB / 377.2 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2583, allocations: 0.7851 MB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2585, allocations: 5.75 kB / 378 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2586, allocations: 45.03 kB / 378 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.2588, allocations: 98.78 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2591, allocations: 105.6 kB / 378.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.2596, allocations: 492.7 kB / 378.7 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.2598, allocations: 131.9 kB / 378.8 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.26, allocations: 184.4 kB / 379 MB, free: 42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2603, allocations: 211.6 kB / 379.2 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.2604, allocations: 27.94 kB / 379.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2605, allocations: 29.47 kB / 379.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.2606, allocations: 91.23 kB / 379.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2607, allocations: 96.14 kB / 379.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.261, allocations: 404.9 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.261, allocations: 4 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.261, allocations: 1.281 kB / 379.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.261, allocations: 3.938 kB / 379.9 MB, free: 41.4 MB / 298.7 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.001452/0.2625, allocations: 0.7515 MB / 380.6 MB, free: 40.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2625, allocations: 13.16 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2626, allocations: 47.72 kB / 380.7 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.263, allocations: 300.4 kB / 381 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.263, allocations: 34.86 kB / 381 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.2631, allocations: 36.5 kB / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2642, allocations: 0.528 MB / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2642, allocations: 0 / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.2643, allocations: 16.53 kB / 381.6 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2643, allocations: 9.406 kB / 381.6 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2657, allocations: 0.5609 MB / 382.2 MB, free: 39.88 MB / 298.7 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.002325/0.268, allocations: 1.701 MB / 383.9 MB, free: 38.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.2692, allocations: 461.2 kB / 384.3 MB, free: 38.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.2697, allocations: 262.1 kB / 384.6 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.2698, allocations: 18.66 kB / 384.6 MB, free: 38.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2698, allocations: 36.98 kB / 384.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.2698, allocations: 1.031 kB / 384.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00508/0.2749, allocations: 1.541 MB / 386.2 MB, free: 36.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.275, allocations: 158.2 kB / 386.3 MB, free: 36.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.2752, allocations: 270.9 kB / 386.6 MB, free: 36.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2753, allocations: 37.7 kB / 386.6 MB, free: 36.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.2754, allocations: 204.4 kB / 386.8 MB, free: 36.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.2755, allocations: 137.9 kB / 386.9 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.2755, allocations: 8 kB / 387 MB, free: 36.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.2756, allocations: 342.8 kB / 387.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.276, allocations: 204.8 kB / 387.5 MB, free: 35.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.2766, allocations: 310.4 kB / 387.8 MB, free: 35.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2771, allocations: 215.9 kB / 388 MB, free: 34.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2771, allocations: 0 / 388 MB, free: 34.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001771/0.2789, allocations: 0.764 MB / 388.8 MB, free: 34.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2789, allocations: 8.938 kB / 388.8 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2789, allocations: 4.062 kB / 388.8 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.2802, allocations: 337.3 kB / 389.1 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.2805, allocations: 83.88 kB / 389.2 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.2816, allocations: 1.37 MB / 390.6 MB, free: 32.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.2821, allocations: 91.69 kB / 390.7 MB, free: 32.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.2821, allocations: 15.95 kB / 390.7 MB, free: 32.22 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2823, allocations: 161.8 kB / 390.8 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2824, allocations: 31.62 kB / 390.9 MB, free: 32.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.2845, allocations: 0.8175 MB / 391.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2845, allocations: 7.953 kB / 391.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2845, allocations: 0 / 391.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2845, allocations: 7.984 kB / 391.7 MB, free: 31.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.285, allocations: 461 kB / 392.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.285, allocations: 0 / 392.1 MB, free: 30.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.2853, allocations: 67.89 kB / 392.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.2865, allocations: 342 kB / 392.5 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.2866, allocations: 11.98 kB / 392.6 MB, free: 30.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009517/0.2875, allocations: 1.382 MB / 393.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2875, allocations: 128 / 393.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.2899, allocations: 1.125 MB / 395.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.29, allocations: 116.8 kB / 395.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.2901, allocations: 12 kB / 395.2 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.2905, allocations: 63.89 kB / 395.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.2906, allocations: 27.91 kB / 395.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2906, allocations: 12 kB / 395.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.2908, allocations: 189.9 kB / 395.5 MB, free: 27.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2908, allocations: 0 / 395.5 MB, free: 27.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.2912, allocations: 107.8 kB / 395.6 MB, free: 27.13 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.2913, allocations: 111.5 kB / 395.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.2925, allocations: 0.5188 MB / 396.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2925, allocations: 0 / 396.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.2931, allocations: 268.1 kB / 396.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2935, allocations: 52.61 kB / 396.5 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2949, allocations: 1.09 MB / 397.6 MB, free: 25.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2951, allocations: 0.7959 MB / 398.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.2952, allocations: 27.42 kB / 398.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2952, allocations: 4 kB / 398.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of Templates: time 0.00692/0.3021, allocations: 7.035 MB / 405.5 MB, free: 17.17 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches