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.001085/0.001085, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001123/0.001123, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.381/1.381, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001374/0.001375, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004211/0.109, allocations: 2.679 MB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1106, allocations: 0.9044 MB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1107, allocations: 7.938 kB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.111, allocations: 63.42 kB / 332.4 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1113, allocations: 99.25 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1116, allocations: 107.7 kB / 332.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.1119, allocations: 346.7 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1121, allocations: 109.7 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1123, allocations: 135.5 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1125, allocations: 151.3 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.1126, allocations: 28 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.1126, allocations: 32 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1127, allocations: 67.77 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1128, allocations: 155.2 kB / 333.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1132, allocations: 366.7 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1132, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1132, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1132, allocations: 0 / 333.9 MB, free: 14.51 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.001007/0.1142, allocations: 0.5963 MB / 334.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1143, allocations: 11.89 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.1144, allocations: 32.56 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1147, allocations: 263.7 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1147, allocations: 20.94 kB / 334.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.1148, allocations: 24.38 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.1153, allocations: 257.2 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1153, allocations: 0 / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.1153, allocations: 15.98 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1153, allocations: 4 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.1158, allocations: 214.1 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1174, allocations: 0.9936 MB / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.1178, allocations: 210.5 kB / 336.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.1181, allocations: 108.8 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1181, allocations: 7.922 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1181, allocations: 38.56 kB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.1181, allocations: 0 / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005166/0.1233, allocations: 1.534 MB / 338.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1234, allocations: 59.34 kB / 338.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1236, allocations: 228.9 kB / 338.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1237, allocations: 33.7 kB / 338.5 MB, free: 9.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1238, allocations: 172.2 kB / 338.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.1239, allocations: 126.2 kB / 338.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.124, allocations: 62.08 kB / 338.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1241, allocations: 338.8 kB / 339.2 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.1244, allocations: 112.7 kB / 339.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.1247, allocations: 161.5 kB / 339.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.1252, allocations: 287.8 kB / 339.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1252, allocations: 0 / 339.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001516/0.1267, allocations: 0.537 MB / 340.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1267, allocations: 4 kB / 340.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1267, allocations: 0 / 340.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.128, allocations: 253.4 kB / 340.6 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1283, allocations: 51.97 kB / 340.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005/0.1333, allocations: 4.126 MB / 344.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.1336, allocations: 16.08 kB / 344.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1336, allocations: 19.98 kB / 344.8 MB, free: 2.992 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.0001664/0.1338, allocations: 145.7 kB / 344.9 MB, free: 2.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1338, allocations: 27.62 kB / 344.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.1339, allocations: 46.95 kB / 345 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1339, allocations: 4 kB / 345 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1339, allocations: 0 / 345 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.134, allocations: 7.938 kB / 345 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.136, allocations: 0.9882 MB / 346 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.136, allocations: 0 / 346 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.1362, allocations: 39.97 kB / 346 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.1374, allocations: 241.5 kB / 346.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1374, allocations: 8 kB / 346.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.1417, allocations: 4.118 MB / 350.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1418, allocations: 3.984 kB / 350.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1435, allocations: 0.7327 MB / 351.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.1435, allocations: 100.9 kB / 351.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1436, allocations: 11.94 kB / 351.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1438, allocations: 16.05 kB / 351.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.1439, allocations: 27.95 kB / 351.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1439, allocations: 12 kB / 351.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1441, allocations: 160.5 kB / 351.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1441, allocations: 0 / 351.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.1447, allocations: 100 kB / 351.5 MB, free: 11.81 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.0001223/0.1448, allocations: 119.2 kB / 351.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009888/0.1458, allocations: 0.5593 MB / 352.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1458, allocations: 4 kB / 352.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.1464, allocations: 429.5 kB / 352.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1467, allocations: 31.55 kB / 352.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1479, allocations: 0.6919 MB / 353.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.1482, allocations: 0.7799 MB / 354.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.248e-05/0.1483, allocations: 22.23 kB / 354.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1484, allocations: 19.44 kB / 354.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1484, allocations: 0 / 354.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Templates: time 0.009039/0.1574, allocations: 5.41 MB / 359.6 MB, free: 3.648 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches