Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 96.53 kB / 16.3 MB, free: 5.656 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.0008742/0.0008742, allocations: 182.5 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.2 MB / 241.1 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 300.7 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 50.41 MB / 351.1 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002466/0.1096, allocations: 2.22 MB / 353.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1107, allocations: 0.7757 MB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1108, allocations: 8 kB / 354.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1109, allocations: 39.7 kB / 354.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.1112, allocations: 107.6 kB / 354.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1114, allocations: 75.84 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1116, allocations: 227.6 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1118, allocations: 77.62 kB / 354.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1119, allocations: 119.6 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1121, allocations: 123.5 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1121, allocations: 16 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1122, allocations: 19.94 kB / 354.9 MB, free: 224 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1122, allocations: 51.81 kB / 355 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1123, allocations: 81.52 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1125, allocations: 263.5 kB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.82 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000819/0.1134, allocations: 0.565 MB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1134, allocations: 8.031 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1135, allocations: 35.58 kB / 355.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1137, allocations: 246.6 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1138, allocations: 20.56 kB / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.1138, allocations: 24 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.1142, allocations: 248.8 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1143, allocations: 3.984 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1143, allocations: 20 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1143, allocations: 11.94 kB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.1147, allocations: 218.1 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1162, allocations: 1.013 MB / 357.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1166, allocations: 198.5 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1166, allocations: 12 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1166, allocations: 30.56 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.1166, allocations: 0 / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.004614/0.1212, allocations: 1.515 MB / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1213, allocations: 55.41 kB / 359.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1215, allocations: 232.9 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1215, allocations: 29.7 kB / 359.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.1216, allocations: 180.2 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.1217, allocations: 122.3 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.1217, allocations: 4 kB / 360.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1219, allocations: 338.8 kB / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1221, allocations: 104 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1223, allocations: 164.4 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1226, allocations: 133.6 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1226, allocations: 0 / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001478/0.1241, allocations: 0.5279 MB / 361.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1241, allocations: 8 kB / 361.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1241, allocations: 0 / 361.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.1255, allocations: 249.5 kB / 361.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1258, allocations: 59.84 kB / 361.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.1301, allocations: 3.79 MB / 365.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.1303, allocations: 20.02 kB / 365.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1304, allocations: 8 kB / 365.5 MB, free: 5.07 MB / 302.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.0001621/0.1305, allocations: 149.7 kB / 365.6 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1306, allocations: 31.69 kB / 365.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.1307, allocations: 42.95 kB / 365.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1307, allocations: 4 kB / 365.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1307, allocations: 4 kB / 365.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1307, allocations: 0 / 365.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1312, allocations: 385.4 kB / 366.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1312, allocations: 0 / 366.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1314, allocations: 47.91 kB / 366.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.1327, allocations: 253.5 kB / 366.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1328, allocations: 8.562 kB / 366.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.1367, allocations: 3.678 MB / 370 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1368, allocations: 0 / 370 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1565/0.2933, allocations: 0.7152 MB / 370.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.2934, allocations: 100.3 kB / 370.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.2934, allocations: 7.578 kB / 370.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.2937, allocations: 14.47 kB / 370.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2938, allocations: 31.12 kB / 370.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.2938, allocations: 11.75 kB / 370.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.294, allocations: 160.4 kB / 371.1 MB, free: 24.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.294, allocations: 0 / 371.1 MB, free: 24.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.2946, allocations: 103.8 kB / 371.2 MB, free: 24.03 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.0001243/0.2947, allocations: 110.1 kB / 371.3 MB, free: 23.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2957, allocations: 0.5713 MB / 371.9 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2957, allocations: 4.406 kB / 371.9 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.2962, allocations: 423.1 kB / 372.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2965, allocations: 17.73 kB / 372.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2976, allocations: 0.8275 MB / 373.1 MB, free: 23.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2979, allocations: 0.7878 MB / 373.9 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.298, allocations: 15.12 kB / 373.9 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.298, allocations: 18.45 kB / 373.9 MB, free: 22.39 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.298, allocations: 0 / 373.9 MB, free: 22.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01054/0.3086, allocations: 5.086 MB / 379 MB, free: 22.06 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches