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.001035/0.001035, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001071/0.001071, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.406/1.406, allocations: 223.3 MB / 241.2 MB, free: 5.297 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 6.719 kB / 300.8 MB, free: 5.562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08785, allocations: 50.42 MB / 351.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002628/0.09052, allocations: 2.331 MB / 353.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.09179, allocations: 0.7794 MB / 354.3 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.09192, allocations: 4 kB / 354.4 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.09212, allocations: 51.67 kB / 354.4 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.09238, allocations: 87.38 kB / 354.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.09261, allocations: 63.92 kB / 354.5 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.09294, allocations: 318.7 kB / 354.9 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.09313, allocations: 85.67 kB / 354.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.09331, allocations: 115.6 kB / 355.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.09351, allocations: 135.3 kB / 355.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.09356, allocations: 16 kB / 355.2 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.09361, allocations: 16 kB / 355.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.09367, allocations: 51.77 kB / 355.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.09374, allocations: 77.58 kB / 355.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.09399, allocations: 255.2 kB / 355.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.094, allocations: 4 kB / 355.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09401, allocations: 0 / 355.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.09402, allocations: 0 / 355.6 MB, free: 7.125 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.0008979/0.09493, allocations: 0.5573 MB / 356.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.09498, allocations: 12.03 kB / 356.2 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.09505, allocations: 39.48 kB / 356.2 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.09532, allocations: 242.6 kB / 356.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.09535, allocations: 20.56 kB / 356.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.0954, allocations: 24 kB / 356.5 MB, free: 6.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.09589, allocations: 252.9 kB / 356.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.09591, allocations: 3.938 kB / 356.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.09594, allocations: 15.94 kB / 356.8 MB, free: 5.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.09596, allocations: 8 kB / 356.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.09639, allocations: 218.1 kB / 357 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.09791, allocations: 1.013 MB / 358 MB, free: 4.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.09835, allocations: 202.4 kB / 358.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.0986, allocations: 116.8 kB / 358.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.09864, allocations: 416 / 358.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.09868, allocations: 38.56 kB / 358.3 MB, free: 4.188 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.082e-06/0.09868, allocations: 0 / 358.3 MB, free: 4.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.004709/0.1034, allocations: 1.555 MB / 359.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1034, allocations: 55.41 kB / 359.9 MB, free: 2.488 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1037, allocations: 224.9 kB / 360.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1037, allocations: 33.7 kB / 360.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1038, allocations: 188.1 kB / 360.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.1039, allocations: 118.3 kB / 360.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.1039, allocations: 8 kB / 360.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1041, allocations: 338.8 kB / 360.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.1043, allocations: 104.7 kB / 360.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1046, allocations: 169.4 kB / 361.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1048, allocations: 123.8 kB / 361.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1048, allocations: 4 kB / 361.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001479/0.1063, allocations: 0.5334 MB / 361.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1064, allocations: 10.5 kB / 361.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1064, allocations: 0 / 361.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1077, allocations: 257.5 kB / 362 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.108, allocations: 59.89 kB / 362.1 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/0.1124, allocations: 3.748 MB / 365.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1126, allocations: 16.03 kB / 365.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1126, allocations: 8 kB / 365.9 MB, free: 12.24 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 (29): * Single equations (assignments): 27 * 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.0001533/0.1128, allocations: 153.8 kB / 366 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.1128, allocations: 31.7 kB / 366 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.113, allocations: 34.97 kB / 366.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.113, allocations: 4 kB / 366.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.113, allocations: 0 / 366.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.113, allocations: 3.984 kB / 366.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.115, allocations: 0.993 MB / 367.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.115, allocations: 4 kB / 367.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.1152, allocations: 43.92 kB / 367.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.1165, allocations: 245.8 kB / 367.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.1165, allocations: 15.92 kB / 367.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/0.1207, allocations: 3.736 MB / 371.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1207, allocations: 0 / 371.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.1224, allocations: 0.7329 MB / 371.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.1225, allocations: 100.8 kB / 371.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1225, allocations: 8 kB / 371.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1227, allocations: 20.05 kB / 372 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.1228, allocations: 27.95 kB / 372 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.1228, allocations: 15.95 kB / 372 MB, free: 5.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.123, allocations: 160.5 kB / 372.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.123, allocations: 0 / 372.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.1236, allocations: 104 kB / 372.3 MB, free: 5.43 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 (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.0001308/0.1237, allocations: 113.7 kB / 372.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.1246, allocations: 0.5559 MB / 372.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1246, allocations: 4.25 kB / 372.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.1252, allocations: 433 kB / 373.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1255, allocations: 25.17 kB / 373.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1268, allocations: 0.8451 MB / 374.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1271, allocations: 0.7799 MB / 375 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1272, allocations: 22.28 kB / 375 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.1273, allocations: 15.44 kB / 375.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1273, allocations: 0 / 375.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of Templates: time 0.008963/0.1363, allocations: 5.095 MB / 380.1 MB, free: 13.43 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches