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.001503/0.001503, allocations: 116.9 kB / 18.4 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.001834/0.001834, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 58.75 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005067/0.1265, allocations: 3.153 MB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1283, allocations: 0.8546 MB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1285, allocations: 4 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1287, allocations: 59.38 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.129, allocations: 114.9 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.1295, allocations: 167.7 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.13, allocations: 0.5464 MB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.1304, allocations: 164.3 kB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1307, allocations: 223.2 kB / 364.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.1311, allocations: 255 kB / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.1311, allocations: 55.98 kB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1313, allocations: 60 kB / 364.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1314, allocations: 111.7 kB / 364.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1317, allocations: 238.9 kB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.1322, allocations: 0.5567 MB / 365.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1322, allocations: 4 kB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1322, allocations: 0 / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1322, allocations: 0 / 365.4 MB, free: 6.785 MB / 302.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.001667/0.1339, allocations: 0.7992 MB / 366.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.134, allocations: 12.03 kB / 366.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.1342, allocations: 60.36 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.1348, allocations: 311.4 kB / 366.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.1348, allocations: 29.38 kB / 366.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1349, allocations: 36.38 kB / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.136, allocations: 0.5047 MB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1361, allocations: 4 kB / 367.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.1361, allocations: 16 kB / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1361, allocations: 8 kB / 367.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1374, allocations: 0.5035 MB / 367.7 MB, free: 4.398 MB / 302.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.002998/0.1404, allocations: 1.659 MB / 369.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1415, allocations: 443.4 kB / 369.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.1421, allocations: 244.9 kB / 370 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.1421, allocations: 12.31 kB / 370 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1422, allocations: 38.89 kB / 370.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.1422, allocations: 0 / 370.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004911/0.1471, allocations: 1.361 MB / 371.4 MB, free: 456 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1472, allocations: 166.1 kB / 371.6 MB, free: 252 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2614/0.4086, allocations: 266.5 kB / 371.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4088, allocations: 35.89 kB / 371.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.409, allocations: 208.6 kB / 372.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.4092, allocations: 141.4 kB / 372.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.4095, allocations: 76.39 kB / 372.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4096, allocations: 343.8 kB / 372.7 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.4103, allocations: 185.9 kB / 372.8 MB, free: 20.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.4112, allocations: 282.7 kB / 373.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.4124, allocations: 425.6 kB / 373.5 MB, free: 20.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4125, allocations: 1.312 kB / 373.5 MB, free: 20.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00246/0.4149, allocations: 0.6794 MB / 374.2 MB, free: 20.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.415, allocations: 6.125 kB / 374.2 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.415, allocations: 2.156 kB / 374.2 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.4166, allocations: 316.1 kB / 374.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.417, allocations: 84.8 kB / 374.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.4183, allocations: 1.34 MB / 375.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.4189, allocations: 80.77 kB / 376 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.4189, allocations: 24.48 kB / 376.1 MB, free: 18.75 MB / 302.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.0002155/0.4192, allocations: 152.5 kB / 376.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4193, allocations: 35.02 kB / 376.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.4216, allocations: 0.7264 MB / 377 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4216, allocations: 3.906 kB / 377 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4216, allocations: 0 / 377 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4216, allocations: 7.688 kB / 377 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.4225, allocations: 458.6 kB / 377.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4225, allocations: 3.875 kB / 377.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.4229, allocations: 62.77 kB / 377.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4243, allocations: 327.5 kB / 377.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.4244, allocations: 11.72 kB / 377.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.4258, allocations: 1.349 MB / 379.2 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.4258, allocations: 10.47 kB / 379.2 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.4288, allocations: 1.016 MB / 380.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.429, allocations: 111.7 kB / 380.3 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.4291, allocations: 11.44 kB / 380.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4295, allocations: 44.8 kB / 380.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4296, allocations: 24.73 kB / 380.4 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.4296, allocations: 12.11 kB / 380.4 MB, free: 16.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.4299, allocations: 197 kB / 380.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.43, allocations: 3.938 kB / 380.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.4305, allocations: 109.8 kB / 380.7 MB, free: 16.09 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.0002381/0.4308, allocations: 119.2 kB / 380.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.4323, allocations: 476.1 kB / 381.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4323, allocations: 1.156 kB / 381.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.433, allocations: 257.4 kB / 381.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4335, allocations: 53.73 kB / 381.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4356, allocations: 0.8619 MB / 382.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.4361, allocations: 0.8022 MB / 383.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.4363, allocations: 30.38 kB / 383.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.4363, allocations: 23.45 kB / 383.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4363, allocations: 0 / 383.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01569/0.452, allocations: 5.909 MB / 389.2 MB, free: 12.81 MB / 302.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 -s cvode -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