Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009821/0.0009824, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 11.98 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002335/0.1283, allocations: 1.66 MB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.1293, allocations: 0.581 MB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.1293, allocations: 0 / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.1294, allocations: 11.92 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1295, allocations: 43.83 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1299, allocations: 83.81 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.13, allocations: 111.7 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1302, allocations: 53.44 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.1304, allocations: 71.7 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1305, allocations: 71.73 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1305, allocations: 4 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.1306, allocations: 16 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.1307, allocations: 27.89 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.1307, allocations: 49.64 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1309, allocations: 127.9 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1309, allocations: 4 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1309, allocations: 0 / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1309, allocations: 0 / 361 MB, free: 11 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009411/0.1318, allocations: 453.3 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1319, allocations: 8.031 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.1323, allocations: 55.77 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1325, allocations: 194.2 kB / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1325, allocations: 11.94 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1326, allocations: 19.95 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1329, allocations: 152 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1329, allocations: 0 / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1329, allocations: 8 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.133, allocations: 0 / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1334, allocations: 99.94 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.1344, allocations: 0.511 MB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.1348, allocations: 106.5 kB / 362.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1348, allocations: 8.078 kB / 362.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1348, allocations: 34.56 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1349, allocations: 3.938 kB / 362.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004572/0.1353, allocations: 157.6 kB / 362.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1354, allocations: 106.8 kB / 362.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1355, allocations: 157.7 kB / 363 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1356, allocations: 25.7 kB / 363 MB, free: 8.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1357, allocations: 119.9 kB / 363.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1357, allocations: 27.66 kB / 363.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1357, allocations: 4 kB / 363.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1359, allocations: 322.8 kB / 363.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.136, allocations: 39.97 kB / 363.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1362, allocations: 84.2 kB / 363.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1363, allocations: 52.05 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1363, allocations: 0 / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003775/0.1367, allocations: 157.4 kB / 363.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1367, allocations: 4 kB / 363.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1368, allocations: 3.984 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1368, allocations: 7.953 kB / 363.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.1374, allocations: 83.95 kB / 363.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.1388, allocations: 1.401 MB / 365.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.139, allocations: 23.92 kB / 365.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.139, allocations: 4 kB / 365.4 MB, free: 6.211 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1391, allocations: 126 kB / 365.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1391, allocations: 7.906 kB / 365.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.1397, allocations: 163.1 kB / 365.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1397, allocations: 12.03 kB / 365.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1397, allocations: 0 / 365.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1397, allocations: 3.984 kB / 365.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.14, allocations: 229.5 kB / 365.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.14, allocations: 0 / 365.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1402, allocations: 31.97 kB / 365.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/0.1405, allocations: 44.77 kB / 366 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1405, allocations: 7.891 kB / 366 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.1418, allocations: 1.296 MB / 367.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1418, allocations: 0 / 367.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.1424, allocations: 304.3 kB / 367.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1425, allocations: 89 kB / 367.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1425, allocations: 0 / 367.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1427, allocations: 20.05 kB / 367.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1428, allocations: 11.98 kB / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1428, allocations: 0 / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.1429, allocations: 123.1 kB / 367.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 367.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1432, allocations: 39.94 kB / 367.8 MB, free: 3.484 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.1433, allocations: 99.19 kB / 367.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.144, allocations: 143.9 kB / 368.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.144, allocations: 0 / 368.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.1444, allocations: 178.6 kB / 368.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1445, allocations: 4 kB / 368.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1461, allocations: 0.6021 MB / 368.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1464, allocations: 0.7199 MB / 369.6 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1464, allocations: 16.55 kB / 369.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.1465, allocations: 11.44 kB / 369.6 MB, free: 1.648 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1465, allocations: 0 / 369.6 MB, free: 1.648 MB / 302.1 MB Notification: Performance of Templates: time 0.004366/0.1508, allocations: 1.465 MB / 371.1 MB, free: 204 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches