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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008529/0.0008529, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003637/0.003637, allocations: 157.3 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8435/0.8435, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.414e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002499/0.002513, allocations: 2.516 MB / 300.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003721, allocations: 0.8537 MB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.003866, allocations: 4 kB / 301.8 MB, free: 140 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.004084, allocations: 59.44 kB / 301.8 MB, free: 80 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1211/0.1252, allocations: 107.7 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1256, allocations: 97.5 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.126, allocations: 365 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1262, allocations: 76.17 kB / 302.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.1265, allocations: 205.2 kB / 302.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1267, allocations: 114.9 kB / 302.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.1267, allocations: 29.22 kB / 302.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.1267, allocations: 29.12 kB / 302.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1268, allocations: 65.2 kB / 302.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.743e-05/0.1269, allocations: 106.4 kB / 303 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.1273, allocations: 371.4 kB / 303.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1273, allocations: 0.9375 kB / 303.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1273, allocations: 0 / 303.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1274, allocations: 4.375 kB / 303.4 MB, free: 13.08 MB / 282.7 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.0007644/0.1281, allocations: 0.5238 MB / 303.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1282, allocations: 14.95 kB / 303.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.1282, allocations: 66.72 kB / 304 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1283, allocations: 37.36 kB / 304 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1286, allocations: 209.2 kB / 304.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.1286, allocations: 20.44 kB / 304.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1287, allocations: 25.03 kB / 304.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.129, allocations: 276.8 kB / 304.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.129, allocations: 192 / 304.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1291, allocations: 16.84 kB / 304.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1291, allocations: 11.38 kB / 304.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1294, allocations: 210.5 kB / 304.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1305, allocations: 0.8442 MB / 305.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1308, allocations: 196 kB / 305.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1309, allocations: 103 kB / 305.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.131, allocations: 6.984 kB / 305.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.131, allocations: 34.61 kB / 306 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.344e-06/0.131, allocations: 3.938 kB / 306 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002907/0.1339, allocations: 1.389 MB / 307.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.1339, allocations: 55.25 kB / 307.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1341, allocations: 232.2 kB / 307.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1341, allocations: 35.14 kB / 307.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.1342, allocations: 180.5 kB / 307.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1342, allocations: 123.7 kB / 308 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.1343, allocations: 68.36 kB / 308 MB, free: 10.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.1344, allocations: 340.8 kB / 308.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1345, allocations: 109.5 kB / 308.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1347, allocations: 154.4 kB / 308.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.135, allocations: 285.8 kB / 308.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.135, allocations: 1.125 kB / 308.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008484/0.1359, allocations: 0.5296 MB / 309.4 MB, free: 9.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1359, allocations: 9.5 kB / 309.4 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1359, allocations: 5.125 kB / 309.4 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00067/0.1366, allocations: 247.5 kB / 309.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1368, allocations: 57.44 kB / 309.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.1396, allocations: 3.89 MB / 313.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1397, allocations: 14.55 kB / 313.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1397, allocations: 14.25 kB / 313.7 MB, free: 6.395 MB / 282.7 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.0001128/0.1398, allocations: 150.5 kB / 313.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1399, allocations: 29.09 kB / 313.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1399, allocations: 43.83 kB / 313.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1399, allocations: 3.438 kB / 313.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1399, allocations: 2.188 kB / 313.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1399, allocations: 1.969 kB / 313.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1411, allocations: 0.9093 MB / 314.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1411, allocations: 0.5156 kB / 314.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1413, allocations: 47.05 kB / 314.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.1418, allocations: 238.4 kB / 315.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1418, allocations: 7.688 kB / 315.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.1441, allocations: 3.885 MB / 319 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1441, allocations: 1.312 kB / 319 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.1451, allocations: 0.7204 MB / 319.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.1451, allocations: 21.12 kB / 319.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1452, allocations: 10.44 kB / 319.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1453, allocations: 12.88 kB / 319.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.1454, allocations: 35.89 kB / 319.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1454, allocations: 11.67 kB / 319.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.1455, allocations: 162.8 kB / 319.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1455, allocations: 1.281 kB / 319.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000416/0.1459, allocations: 102.8 kB / 320 MB, free: 1.785 MB / 282.7 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.001147/0.147, allocations: 1.265 MB / 321.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.1477, allocations: 0.5368 MB / 321.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1477, allocations: 5.344 kB / 321.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.148, allocations: 429.7 kB / 322.3 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1483, allocations: 30.89 kB / 322.3 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.1522, allocations: 3.292 MB / 325.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1524, allocations: 171.6 kB / 325.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1524, allocations: 16.67 kB / 325.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1525, allocations: 95.73 kB / 325.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1525, allocations: 1.094 kB / 325.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.1824, allocations: 9.365 MB / 335.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.437, allocations: 7.969 kB / 335.2 MB, free: 8.473 MB / 298.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.061353656463325]