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.001582/0.001582, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001809/0.001809, allocations: 191 kB / 19.29 MB, free: 3.703 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.359/1.359, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001261/0.001261, allocations: 55.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09262, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004034/0.0967, allocations: 3.104 MB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.09809, allocations: 0.8278 MB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.09825, allocations: 4 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.09845, allocations: 55.38 kB / 332.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.09864, allocations: 114.9 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.09904, allocations: 155.7 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.09955, allocations: 0.5424 MB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.09982, allocations: 164.3 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1001, allocations: 215.3 kB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1004, allocations: 247 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.1004, allocations: 52 kB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.1005, allocations: 56 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.1006, allocations: 115.6 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1008, allocations: 238.8 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1013, allocations: 0.5529 MB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1013, allocations: 0 / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1013, allocations: 0 / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1014, allocations: 0 / 335.1 MB, free: 13.3 MB / 286.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.1029, allocations: 0.7798 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.103, allocations: 15.97 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.1031, allocations: 48.38 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1035, allocations: 306.5 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.1035, allocations: 29.38 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.1036, allocations: 36.38 kB / 336.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.1046, allocations: 0.5047 MB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1046, allocations: 4 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.1047, allocations: 16 kB / 336.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1047, allocations: 8 kB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.1059, allocations: 0.5035 MB / 337.4 MB, free: 10.95 MB / 286.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.002504/0.1084, allocations: 1.663 MB / 339 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1095, allocations: 419.6 kB / 339.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.1099, allocations: 249.4 kB / 339.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.11, allocations: 8.312 kB / 339.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.11, allocations: 38.89 kB / 339.7 MB, free: 8.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.11, allocations: 3.938 kB / 339.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004564/0.1146, allocations: 1.365 MB / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.1147, allocations: 158.2 kB / 341.3 MB, free: 6.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.115, allocations: 263 kB / 341.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.1151, allocations: 37.69 kB / 341.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1152, allocations: 208.3 kB / 341.8 MB, free: 6.301 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.1153, allocations: 134 kB / 341.9 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1154, allocations: 78.12 kB / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1156, allocations: 346.8 kB / 342.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.116, allocations: 176.8 kB / 342.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.1166, allocations: 282.5 kB / 342.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008945/0.1175, allocations: 426.5 kB / 343.2 MB, free: 4.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1175, allocations: 3.938 kB / 343.2 MB, free: 4.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001713/0.1192, allocations: 0.6897 MB / 343.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1192, allocations: 8 kB / 343.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1193, allocations: 64 / 343.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.1205, allocations: 325.4 kB / 344.2 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.1208, allocations: 79.88 kB / 344.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1221, allocations: 1.343 MB / 345.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.1225, allocations: 79.72 kB / 345.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.1226, allocations: 19.98 kB / 345.7 MB, free: 2.203 MB / 286.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.000185/0.1228, allocations: 153.8 kB / 345.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.1228, allocations: 31.62 kB / 345.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.1248, allocations: 0.7316 MB / 346.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1248, allocations: 4 kB / 346.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1249, allocations: 0 / 346.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1249, allocations: 3.984 kB / 346.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.1254, allocations: 460.8 kB / 347.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1254, allocations: 0 / 347.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.1257, allocations: 63.83 kB / 347.1 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.1268, allocations: 317.4 kB / 347.4 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.1268, allocations: 15.98 kB / 347.5 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.128, allocations: 1.358 MB / 348.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.128, allocations: 4.125 kB / 348.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.1303, allocations: 1.027 MB / 349.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.1304, allocations: 116.6 kB / 350 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.1305, allocations: 4 kB / 350 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.1309, allocations: 47.94 kB / 350 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1309, allocations: 23.97 kB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.131, allocations: 8 kB / 350 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1312, allocations: 198 kB / 350.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 350.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1316, allocations: 107.8 kB / 350.3 MB, free: 13.38 MB / 302.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.0001652/0.1318, allocations: 119.1 kB / 350.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.133, allocations: 479.4 kB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.133, allocations: 0 / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.1336, allocations: 252.2 kB / 351.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.134, allocations: 44.55 kB / 351.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1355, allocations: 0.8614 MB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1359, allocations: 0.7956 MB / 352.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.136, allocations: 26.98 kB / 352.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.1361, allocations: 31.42 kB / 352.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1361, allocations: 0 / 352.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01002/0.1461, allocations: 5.879 MB / 358.8 MB, free: 4.852 MB / 302.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 -s cvode -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