Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 97.23 kB / 16.94 MB, free: 5.723 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.001654/0.001654, allocations: 183.7 kB / 17.83 MB, free: 5.344 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.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004725/0.0004725, allocations: 16 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09813, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.00265/0.1008, allocations: 2.155 MB / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1021, allocations: 0.8195 MB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1022, allocations: 4 kB / 331.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1024, allocations: 39.69 kB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1026, allocations: 107.7 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1029, allocations: 75.84 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1031, allocations: 231.5 kB / 331.7 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.1033, allocations: 73.7 kB / 331.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1035, allocations: 115.6 kB / 331.9 MB, free: 492 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1036, allocations: 131.4 kB / 332.1 MB, free: 360 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1037, allocations: 16 kB / 332.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.865e-05/0.1037, allocations: 16 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.1038, allocations: 47.83 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.1038, allocations: 81.52 kB / 332.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1041, allocations: 259.5 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1041, allocations: 4 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1041, allocations: 3.938 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1041, allocations: 0 / 332.5 MB, free: 15.93 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008653/0.105, allocations: 0.5573 MB / 333 MB, free: 15.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.105, allocations: 8.031 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1051, allocations: 35.53 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1054, allocations: 250.3 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1054, allocations: 28.5 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1055, allocations: 24 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.1059, allocations: 252.9 kB / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1059, allocations: 0 / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.106, allocations: 12 kB / 333.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.106, allocations: 11.94 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.1064, allocations: 210.1 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1079, allocations: 1.013 MB / 334.9 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1083, allocations: 206.5 kB / 335.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1083, allocations: 8.062 kB / 335.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1084, allocations: 38.59 kB / 335.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.1084, allocations: 0 / 335.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004603/0.113, allocations: 1.499 MB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.113, allocations: 51.41 kB / 336.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1132, allocations: 229 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.1133, allocations: 37.64 kB / 336.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.1134, allocations: 180.2 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.1135, allocations: 122.3 kB / 337.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.1135, allocations: 4 kB / 337.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1136, allocations: 342.8 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1138, allocations: 107.9 kB / 337.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1141, allocations: 160.5 kB / 337.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1143, allocations: 129.6 kB / 337.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1144, allocations: 0 / 337.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001465/0.1158, allocations: 0.5278 MB / 338.5 MB, free: 9.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1159, allocations: 8 kB / 338.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1159, allocations: 3.984 kB / 338.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.1173, allocations: 249.5 kB / 338.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1175, allocations: 59.91 kB / 338.8 MB, free: 9.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.1219, allocations: 3.791 MB / 342.6 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1221, allocations: 15.97 kB / 342.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1222, allocations: 12 kB / 342.6 MB, free: 5.168 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.1224, allocations: 141.9 kB / 342.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.1224, allocations: 35.62 kB / 342.8 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.1225, allocations: 38.95 kB / 342.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1225, allocations: 4 kB / 342.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.1225, allocations: 0 / 342.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1226, allocations: 7.938 kB / 342.8 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.123, allocations: 377.4 kB / 343.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.123, allocations: 3.938 kB / 343.2 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1232, allocations: 43.97 kB / 343.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.1245, allocations: 242 kB / 343.5 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1246, allocations: 8.562 kB / 343.5 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.1286, allocations: 3.705 MB / 347.2 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1286, allocations: 0 / 347.2 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.1305, allocations: 0.7232 MB / 347.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.1306, allocations: 100.8 kB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.1306, allocations: 8 kB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1308, allocations: 12 kB / 348 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.1309, allocations: 35.97 kB / 348.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.131, allocations: 11.98 kB / 348.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1311, allocations: 160.5 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1311, allocations: 0 / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000556/0.1317, allocations: 100 kB / 348.3 MB, free: 15.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.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 (18): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.1318, allocations: 107.2 kB / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009697/0.1328, allocations: 0.5556 MB / 349 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1328, allocations: 0 / 349 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.1334, allocations: 437.3 kB / 349.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1336, allocations: 16.44 kB / 349.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1348, allocations: 0.8353 MB / 350.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1351, allocations: 0.784 MB / 351.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.419e-05/0.1352, allocations: 26.27 kB / 351.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1352, allocations: 15.44 kB / 351.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1353, allocations: 0 / 351.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Templates: time 0.009213/0.1445, allocations: 5.068 MB / 356.2 MB, free: 7.117 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches