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.001393/0.001393, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001236, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.55 kB / 306.3 MB, free: 0.9922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 50.53 MB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004948/0.1194, allocations: 3.194 MB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.121, allocations: 0.8587 MB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1211, allocations: 4 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1214, allocations: 43.62 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1216, allocations: 95.17 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.122, allocations: 131.9 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.1225, allocations: 0.5268 MB / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1229, allocations: 140.8 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.1232, allocations: 211.2 kB / 362 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1235, allocations: 246.9 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.1236, allocations: 32 kB / 362.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1237, allocations: 44 kB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.1238, allocations: 91.66 kB / 362.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.1241, allocations: 226.8 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.1246, allocations: 0.5297 MB / 363.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1246, allocations: 4 kB / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1246, allocations: 0 / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1246, allocations: 0 / 363.1 MB, free: 8.059 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.00167/0.1263, allocations: 0.8054 MB / 363.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1264, allocations: 8.031 kB / 363.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.1266, allocations: 60.36 kB / 364 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.127, allocations: 311.4 kB / 364.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1271, allocations: 25.38 kB / 364.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.1271, allocations: 36.38 kB / 364.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1283, allocations: 0.5009 MB / 364.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1283, allocations: 4 kB / 364.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.1283, allocations: 23.92 kB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1284, allocations: 8 kB / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1297, allocations: 0.5035 MB / 365.4 MB, free: 5.676 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.002643/0.1323, allocations: 1.667 MB / 367.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1334, allocations: 431.5 kB / 367.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.134, allocations: 244.8 kB / 367.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.134, allocations: 12.3 kB / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1341, allocations: 38.89 kB / 367.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.425e-06/0.1341, allocations: 0 / 367.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004937/0.139, allocations: 1.361 MB / 369.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.1391, allocations: 158.2 kB / 369.3 MB, free: 1.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.1395, allocations: 271 kB / 369.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1395, allocations: 29.7 kB / 369.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1397, allocations: 216.3 kB / 369.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1398, allocations: 134 kB / 369.9 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.14, allocations: 78.12 kB / 370 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1401, allocations: 346.8 kB / 370.4 MB, free: 464 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.1407, allocations: 184.7 kB / 370.5 MB, free: 280 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2623/0.403, allocations: 275.5 kB / 370.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.4053, allocations: 424.2 kB / 371.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.4053, allocations: 1.062 kB / 371.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003745/0.4091, allocations: 0.6813 MB / 371.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.4091, allocations: 7.125 kB / 371.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4092, allocations: 1.688 kB / 371.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.4117, allocations: 319.3 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.4124, allocations: 80.28 kB / 372.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.4145, allocations: 1.352 MB / 373.7 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.4155, allocations: 78.62 kB / 373.7 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.4156, allocations: 15.98 kB / 373.7 MB, free: 19 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.0003767/0.4159, allocations: 168.5 kB / 373.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4161, allocations: 33.53 kB / 373.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.4206, allocations: 0.7281 MB / 374.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4206, allocations: 4.125 kB / 374.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4206, allocations: 1.375 kB / 374.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.4206, allocations: 6.906 kB / 374.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.4216, allocations: 460.2 kB / 375.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4216, allocations: 2.125 kB / 375.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.4221, allocations: 63.22 kB / 375.2 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.4245, allocations: 322.6 kB / 375.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.4245, allocations: 11.52 kB / 375.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.4265, allocations: 1.36 MB / 376.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4265, allocations: 4.125 kB / 376.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/0.4313, allocations: 1.009 MB / 377.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4314, allocations: 113.7 kB / 378 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.4315, allocations: 10.97 kB / 378 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.4322, allocations: 52.66 kB / 378.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4324, allocations: 22.47 kB / 378.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.4325, allocations: 13.52 kB / 378.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004668/0.433, allocations: 193.1 kB / 378.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.433, allocations: 0 / 378.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008653/0.4339, allocations: 112.6 kB / 378.4 MB, free: 16.46 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.0003159/0.4342, allocations: 120.2 kB / 378.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.4366, allocations: 473.8 kB / 379 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4366, allocations: 1.031 kB / 379 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4378, allocations: 257.6 kB / 379.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.4387, allocations: 52.23 kB / 379.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.4416, allocations: 1.033 MB / 380.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.442, allocations: 0.7948 MB / 381.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.4424, allocations: 31.28 kB / 381.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4425, allocations: 23.03 kB / 381.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4425, allocations: 5.5 kB / 381.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.02128/0.4638, allocations: 5.454 MB / 386.6 MB, free: 13.45 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches