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.001279/0.001279, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001627/0.001627, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.556/1.556, allocations: 207.6 MB / 231.8 MB, free: 4.043 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 49.14 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004548/0.1212, allocations: 2.679 MB / 394.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1232, allocations: 0.9158 MB / 395 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1234, allocations: 4 kB / 395 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1237, allocations: 59.5 kB / 395.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.124, allocations: 103.2 kB / 395.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.1243, allocations: 103.8 kB / 395.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.1247, allocations: 350.6 kB / 395.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.1249, allocations: 85.62 kB / 395.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1251, allocations: 139.4 kB / 395.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1254, allocations: 151.4 kB / 396 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.1254, allocations: 28 kB / 396 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.1255, allocations: 32 kB / 396 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.1255, allocations: 67.75 kB / 396.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1257, allocations: 159.1 kB / 396.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.1261, allocations: 362.5 kB / 396.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1262, allocations: 0 / 396.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1262, allocations: 0 / 396.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1262, allocations: 0 / 396.6 MB, free: 3.492 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.001113/0.1273, allocations: 0.6077 MB / 397.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1273, allocations: 15.89 kB / 397.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.388e-05/0.1274, allocations: 62.73 kB / 397.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.1275, allocations: 36.7 kB / 397.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1279, allocations: 259.9 kB / 397.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.1279, allocations: 24.94 kB / 397.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.128, allocations: 28.38 kB / 397.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.1285, allocations: 252.9 kB / 397.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1285, allocations: 0 / 397.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.1285, allocations: 8 kB / 397.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1285, allocations: 8 kB / 397.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.129, allocations: 210.1 kB / 398.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1307, allocations: 1.017 MB / 399.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1311, allocations: 194.5 kB / 399.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.1314, allocations: 100.8 kB / 399.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1314, allocations: 0 / 399.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1315, allocations: 38.56 kB / 399.4 MB, free: 456 kB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.152e-06/0.1315, allocations: 0 / 399.4 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005347/0.1368, allocations: 1.534 MB / 401 MB, free: 14.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1368, allocations: 59.41 kB / 401 MB, free: 14.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1371, allocations: 233 kB / 401.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1372, allocations: 33.7 kB / 401.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1373, allocations: 184.5 kB / 401.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1374, allocations: 126.9 kB / 401.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1375, allocations: 66.02 kB / 401.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1377, allocations: 330.8 kB / 402 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.138, allocations: 112.7 kB / 402.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.1383, allocations: 161.5 kB / 402.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.1388, allocations: 284 kB / 402.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1388, allocations: 0 / 402.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001573/0.1404, allocations: 0.5371 MB / 403.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1404, allocations: 7.906 kB / 403.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1404, allocations: 3.938 kB / 403.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.1417, allocations: 241.5 kB / 403.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.1419, allocations: 59.91 kB / 403.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.1473, allocations: 4.138 MB / 407.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1476, allocations: 12 kB / 407.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1476, allocations: 8 kB / 407.5 MB, free: 7.898 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.0002481/0.1479, allocations: 157.7 kB / 407.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.1479, allocations: 31.81 kB / 407.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1481, allocations: 38.97 kB / 407.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1481, allocations: 4.062 kB / 407.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1481, allocations: 4 kB / 407.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1481, allocations: 3.984 kB / 407.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.1503, allocations: 0.9727 MB / 408.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1503, allocations: 3.984 kB / 408.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1505, allocations: 39.92 kB / 408.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.1517, allocations: 241.5 kB / 409 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1517, allocations: 8 kB / 409 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.1569, allocations: 4.126 MB / 413.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1569, allocations: 8.094 kB / 413.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.1587, allocations: 0.7211 MB / 413.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.1588, allocations: 104.9 kB / 414 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1589, allocations: 15.94 kB / 414 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1591, allocations: 12.06 kB / 414 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.1592, allocations: 39.88 kB / 414.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1592, allocations: 8 kB / 414.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.1594, allocations: 164.5 kB / 414.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1594, allocations: 4 kB / 414.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000613/0.16, allocations: 96 kB / 414.3 MB, free: 0.7031 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.002212/0.1622, allocations: 1.27 MB / 415.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1633, allocations: 0.5516 MB / 416.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1633, allocations: 0 / 416.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.1639, allocations: 417.5 kB / 416.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1643, allocations: 32.42 kB / 416.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/0.1705, allocations: 3.344 MB / 419.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1709, allocations: 0.776 MB / 420.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.518e-05/0.171, allocations: 18.28 kB / 420.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1711, allocations: 99.39 kB / 420.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1711, allocations: 4 kB / 420.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.2126, allocations: 8.436 MB / 429.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.04, allocations: 15.97 kB / 429.3 MB, free: 1.445 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 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.csv","/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) [Timeout 660] "Error: Could not read variable coil.Phi in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.766671464996762]