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.0008907/0.0008906, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.0008902/0.0008902, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.366/1.366, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004612/0.0004612, allocations: 15.98 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09235, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003109/0.09551, allocations: 2.355 MB / 331.3 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.09697, allocations: 0.8461 MB / 332.2 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.09712, allocations: 4 kB / 332.2 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.09735, allocations: 35.7 kB / 332.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.09763, allocations: 95.36 kB / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.09787, allocations: 83.92 kB / 332.4 MB, free: 340 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.09823, allocations: 338.6 kB / 332.7 MB, free: 0 / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.09845, allocations: 98.23 kB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.09863, allocations: 115.5 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.09882, allocations: 139.3 kB / 333 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.09886, allocations: 16 kB / 333.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.0989, allocations: 16 kB / 333.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.09897, allocations: 51.78 kB / 333.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.09912, allocations: 164.8 kB / 333.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.09943, allocations: 343 kB / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09944, allocations: 0 / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.09945, allocations: 0 / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09946, allocations: 3.938 kB / 333.6 MB, free: 15.07 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.0009409/0.1004, allocations: 0.5497 MB / 334.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1005, allocations: 12.03 kB / 334.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.1005, allocations: 36.47 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1008, allocations: 259.5 kB / 334.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1009, allocations: 24.88 kB / 334.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.1009, allocations: 32.38 kB / 334.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.1014, allocations: 253.2 kB / 334.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1014, allocations: 0 / 334.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1014, allocations: 12 kB / 334.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1014, allocations: 4 kB / 334.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.1019, allocations: 226.1 kB / 335 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1034, allocations: 1.009 MB / 336 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.1038, allocations: 206.6 kB / 336.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.1041, allocations: 116.8 kB / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1041, allocations: 0 / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1042, allocations: 46.59 kB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/0.1042, allocations: 0 / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005076/0.1092, allocations: 1.55 MB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1093, allocations: 63.28 kB / 338 MB, free: 10.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1095, allocations: 221 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1096, allocations: 29.7 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1097, allocations: 184.2 kB / 338.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.1098, allocations: 122.2 kB / 338.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.1099, allocations: 37.7 kB / 338.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.11, allocations: 334.8 kB / 338.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1102, allocations: 108.7 kB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1105, allocations: 173.2 kB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.1111, allocations: 283.8 kB / 339.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1111, allocations: 0 / 339.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001606/0.1127, allocations: 0.5449 MB / 340 MB, free: 8.309 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1127, allocations: 4 kB / 340 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1127, allocations: 4 kB / 340 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.1142, allocations: 245.5 kB / 340.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.1145, allocations: 59.91 kB / 340.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/0.1189, allocations: 3.762 MB / 344.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.1192, allocations: 11.98 kB / 344.1 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1193, allocations: 12 kB / 344.1 MB, free: 3.945 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.1194, allocations: 149.8 kB / 344.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.1195, allocations: 27.62 kB / 344.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.1196, allocations: 42.95 kB / 344.3 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1196, allocations: 7.938 kB / 344.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.1196, allocations: 8.062 kB / 344.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1196, allocations: 3.984 kB / 344.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.1218, allocations: 0.9883 MB / 345.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1218, allocations: 0 / 345.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.122, allocations: 47.97 kB / 345.4 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.1234, allocations: 253.7 kB / 345.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1234, allocations: 8 kB / 345.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004131/0.1276, allocations: 3.74 MB / 349.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1276, allocations: 0 / 349.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.1294, allocations: 0.7484 MB / 350.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1295, allocations: 96.86 kB / 350.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.1296, allocations: 7.938 kB / 350.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.1298, allocations: 19.98 kB / 350.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1299, allocations: 27.95 kB / 350.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1299, allocations: 12 kB / 350.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1301, allocations: 164.5 kB / 350.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 64 / 350.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.1307, allocations: 108 kB / 350.5 MB, free: 13.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1308, allocations: 103.2 kB / 350.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009763/0.1318, allocations: 0.5671 MB / 351.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1318, allocations: 4 kB / 351.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.1323, allocations: 429.5 kB / 351.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1327, allocations: 32.36 kB / 351.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.134, allocations: 0.8762 MB / 352.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1343, allocations: 0.7837 MB / 353.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1345, allocations: 22.3 kB / 353.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1345, allocations: 19.44 kB / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1345, allocations: 0 / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Templates: time 0.009294/0.1438, allocations: 5.227 MB / 358.6 MB, free: 4.93 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (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) 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