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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 122.2 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001742/0.001742, allocations: 55.91 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1046, allocations: 49.13 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004292/0.1089, allocations: 2.679 MB / 394 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1104, allocations: 0.9158 MB / 395 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1105, allocations: 4 kB / 395 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1108, allocations: 59.45 kB / 395 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1111, allocations: 115.2 kB / 395.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1113, allocations: 87.89 kB / 395.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.1117, allocations: 358.6 kB / 395.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1119, allocations: 81.62 kB / 395.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1122, allocations: 143.4 kB / 395.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1124, allocations: 147.4 kB / 395.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.1124, allocations: 31.94 kB / 396 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.1125, allocations: 32 kB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.1125, allocations: 67.75 kB / 396.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1127, allocations: 155.2 kB / 396.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.1131, allocations: 362.5 kB / 396.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1132, allocations: 3.938 kB / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1132, allocations: 0 / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1132, allocations: 0 / 396.6 MB, free: 3.52 MB / 318.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.001168/0.1143, allocations: 0.6078 MB / 397.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1144, allocations: 11.89 kB / 397.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/0.1145, allocations: 62.72 kB / 397.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.1145, allocations: 40.7 kB / 397.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.115, allocations: 259.9 kB / 397.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.115, allocations: 20.94 kB / 397.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1151, allocations: 24.38 kB / 397.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.1156, allocations: 249 kB / 397.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1156, allocations: 0 / 397.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.1156, allocations: 16 kB / 397.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1156, allocations: 4 kB / 397.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.1161, allocations: 218.1 kB / 398.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1179, allocations: 1.002 MB / 399.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.1183, allocations: 202.5 kB / 399.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.1186, allocations: 96.81 kB / 399.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1186, allocations: 4 kB / 399.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.1187, allocations: 42.56 kB / 399.4 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 4.659e-06/0.1187, allocations: 3.984 kB / 399.4 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005329/0.124, allocations: 1.538 MB / 400.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.124, allocations: 55.41 kB / 401 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1243, allocations: 233 kB / 401.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1244, allocations: 29.7 kB / 401.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1245, allocations: 184.5 kB / 401.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1246, allocations: 126.9 kB / 401.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1247, allocations: 66.08 kB / 401.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1249, allocations: 338.8 kB / 402 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.1252, allocations: 104.7 kB / 402.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1255, allocations: 165.5 kB / 402.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.126, allocations: 276 kB / 402.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.126, allocations: 4 kB / 402.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001598/0.1276, allocations: 0.5332 MB / 403 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1276, allocations: 12 kB / 403 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1276, allocations: 0 / 403 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.1289, allocations: 241.4 kB / 403.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1292, allocations: 55.97 kB / 403.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.1348, allocations: 4.142 MB / 407.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.1351, allocations: 8.031 kB / 407.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1351, allocations: 15.94 kB / 407.5 MB, free: 7.93 MB / 334.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.0002528/0.1353, allocations: 157.8 kB / 407.6 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.1354, allocations: 27.81 kB / 407.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.1355, allocations: 38.97 kB / 407.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1355, allocations: 4 kB / 407.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.1355, allocations: 7.984 kB / 407.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1355, allocations: 7.984 kB / 407.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.1377, allocations: 0.9767 MB / 408.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1377, allocations: 3.938 kB / 408.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.1379, allocations: 35.98 kB / 408.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.1392, allocations: 245.5 kB / 409 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1392, allocations: 4 kB / 409 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005126/0.1443, allocations: 4.127 MB / 413.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1443, allocations: 3.938 kB / 413.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.1462, allocations: 0.725 MB / 413.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1463, allocations: 108.9 kB / 414 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.1464, allocations: 7.938 kB / 414 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1466, allocations: 12 kB / 414 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.1467, allocations: 27.95 kB / 414 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.1467, allocations: 12 kB / 414 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1469, allocations: 164.5 kB / 414.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1469, allocations: 4.062 kB / 414.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.1475, allocations: 100 kB / 414.3 MB, free: 0.7383 MB / 334.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.002387/0.1499, allocations: 1.274 MB / 415.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.1512, allocations: 0.5478 MB / 416.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1512, allocations: 4.125 kB / 416.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000639/0.1518, allocations: 417.1 kB / 416.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1522, allocations: 28.42 kB / 416.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.1587, allocations: 3.34 MB / 419.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.1592, allocations: 0.776 MB / 420.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1593, allocations: 26.28 kB / 420.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1594, allocations: 95.39 kB / 420.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of SimCode: time 1.021e-06/0.1594, allocations: 0 / 420.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/0.2017, allocations: 8.444 MB / 429.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/12.97, allocations: 7.922 kB / 429.2 MB, free: 1.484 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.64724334795028]