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.001462/0.001462, allocations: 114.2 kB / 17.28 MB, free: 6.199 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.001661/0.001661, allocations: 185.3 kB / 18.2 MB, free: 5.281 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.429/1.429, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001149/0.001149, allocations: 48.14 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09676, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004214/0.101, allocations: 2.721 MB / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1025, allocations: 0.885 MB / 330.4 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1027, allocations: 4 kB / 330.4 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.103, allocations: 47.69 kB / 330.4 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1033, allocations: 95.36 kB / 330.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1035, allocations: 79.88 kB / 330.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.1039, allocations: 354.7 kB / 330.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1041, allocations: 109.7 kB / 331.1 MB, free: 500 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1044, allocations: 139.5 kB / 331.2 MB, free: 360 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1046, allocations: 151.3 kB / 331.3 MB, free: 208 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.1046, allocations: 32 kB / 331.4 MB, free: 176 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1047, allocations: 39.88 kB / 331.4 MB, free: 136 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.1048, allocations: 63.81 kB / 331.5 MB, free: 72 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.105, allocations: 151.3 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.1054, allocations: 358.9 kB / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1054, allocations: 0 / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1054, allocations: 0 / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1054, allocations: 0 / 332 MB, free: 15.57 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.001113/0.1065, allocations: 0.6041 MB / 332.6 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1066, allocations: 11.89 kB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.1067, allocations: 32.56 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.107, allocations: 263.4 kB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1071, allocations: 20.94 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.1072, allocations: 28.38 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.1077, allocations: 253.2 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1077, allocations: 0 / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1078, allocations: 12 kB / 333.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1078, allocations: 4 kB / 333.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.1082, allocations: 210.1 kB / 333.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1098, allocations: 1.013 MB / 334.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1102, allocations: 202.5 kB / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.1105, allocations: 112.8 kB / 334.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1105, allocations: 8.062 kB / 334.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1106, allocations: 34.56 kB / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.1106, allocations: 0 / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005265/0.1159, allocations: 1.531 MB / 336.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1159, allocations: 59.34 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1162, allocations: 232.9 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1162, allocations: 29.7 kB / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1163, allocations: 176.2 kB / 336.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.1164, allocations: 126.2 kB / 336.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1166, allocations: 62.08 kB / 337 MB, free: 10.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1167, allocations: 338.8 kB / 337.3 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.117, allocations: 108.7 kB / 337.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.1172, allocations: 165.3 kB / 337.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.1177, allocations: 279.8 kB / 337.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1177, allocations: 0 / 337.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001532/0.1193, allocations: 0.537 MB / 338.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.1193, allocations: 15.94 kB / 338.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1193, allocations: 0 / 338.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.1206, allocations: 249.4 kB / 338.6 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.1209, allocations: 59.95 kB / 338.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.1257, allocations: 4.137 MB / 342.8 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.126, allocations: 12.03 kB / 342.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.126, allocations: 11.98 kB / 342.8 MB, free: 4.031 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.0001865/0.1262, allocations: 153.7 kB / 343 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.1263, allocations: 27.62 kB / 343 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.832e-05/0.1264, allocations: 43.02 kB / 343.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1264, allocations: 7.938 kB / 343.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.1264, allocations: 4 kB / 343.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1264, allocations: 0 / 343.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.1285, allocations: 0.9804 MB / 344.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1285, allocations: 0 / 344.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1287, allocations: 44.03 kB / 344.1 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.13, allocations: 245.4 kB / 344.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.13, allocations: 4 kB / 344.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/0.1344, allocations: 4.134 MB / 348.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1344, allocations: 4.062 kB / 348.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.1363, allocations: 0.7249 MB / 349.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.1364, allocations: 100.8 kB / 349.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1364, allocations: 7.938 kB / 349.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1367, allocations: 20.05 kB / 349.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1368, allocations: 23.97 kB / 349.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1368, allocations: 15.98 kB / 349.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.137, allocations: 160.5 kB / 349.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.137, allocations: 0 / 349.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.1376, allocations: 104 kB / 349.6 MB, free: 12.84 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.0001367/0.1378, allocations: 111.2 kB / 349.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1388, allocations: 0.5711 MB / 350.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1388, allocations: 4.25 kB / 350.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.1394, allocations: 429.2 kB / 350.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1397, allocations: 28.42 kB / 350.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1411, allocations: 0.8322 MB / 351.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1413, allocations: 0.7799 MB / 352.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.1415, allocations: 18.28 kB / 352.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.1415, allocations: 19.44 kB / 352.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1415, allocations: 0 / 352.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of Templates: time 0.009346/0.1509, allocations: 5.383 MB / 357.8 MB, free: 4.559 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