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.001146/0.001146, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005121/0.005121, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8837/0.8837, allocations: 158.6 MB / 186.5 MB, free: 3.027 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 2.344e-06/2.344e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.984e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003759/0.003789, allocations: 2.524 MB / 300.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.005369, allocations: 0.8537 MB / 301.8 MB, free: 120 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.005594, allocations: 4 kB / 301.8 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.005871, allocations: 55.45 kB / 301.9 MB, free: 60 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1379/0.1437, allocations: 106.4 kB / 302 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1441, allocations: 102.9 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.1447, allocations: 365.3 kB / 302.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1449, allocations: 73.62 kB / 302.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.1451, allocations: 204 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1453, allocations: 116.9 kB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.1454, allocations: 29.38 kB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.1454, allocations: 28.56 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1455, allocations: 65.36 kB / 302.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.448e-05/0.1456, allocations: 107.5 kB / 303 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.146, allocations: 369 kB / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.146, allocations: 0 / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.146, allocations: 2.406 kB / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.146, allocations: 0 / 303.4 MB, free: 13.05 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.000811/0.1468, allocations: 0.5276 MB / 303.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1468, allocations: 18.83 kB / 303.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1469, allocations: 63.72 kB / 304 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1469, allocations: 36.52 kB / 304 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1472, allocations: 204.8 kB / 304.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.1473, allocations: 17.97 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1473, allocations: 30.94 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.1477, allocations: 276.4 kB / 304.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1477, allocations: 192 / 304.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.1477, allocations: 13.47 kB / 304.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1477, allocations: 9.75 kB / 304.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.1481, allocations: 209.1 kB / 304.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1492, allocations: 0.8487 MB / 305.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1495, allocations: 200.1 kB / 305.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1497, allocations: 102.2 kB / 305.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1497, allocations: 4.031 kB / 305.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1497, allocations: 37.47 kB / 306 MB, free: 11.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.106e-06/0.1497, allocations: 3.609 kB / 306 MB, free: 11.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002993/0.1527, allocations: 1.389 MB / 307.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1528, allocations: 63.86 kB / 307.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1529, allocations: 232.8 kB / 307.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.153, allocations: 31.17 kB / 307.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.153, allocations: 179.2 kB / 307.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1531, allocations: 124.9 kB / 308 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.1531, allocations: 66.97 kB / 308 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.1532, allocations: 341.2 kB / 308.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1534, allocations: 106.5 kB / 308.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1535, allocations: 157.8 kB / 308.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1538, allocations: 285 kB / 308.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1538, allocations: 1.438 kB / 308.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008565/0.1547, allocations: 0.5261 MB / 309.4 MB, free: 9.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1547, allocations: 5.375 kB / 309.4 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.1547, allocations: 10.7 kB / 309.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.1554, allocations: 244.6 kB / 309.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1555, allocations: 56.72 kB / 309.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.1584, allocations: 3.892 MB / 313.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1586, allocations: 8.844 kB / 313.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1586, allocations: 18.75 kB / 313.7 MB, free: 6.371 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.0001254/0.1587, allocations: 144 kB / 313.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1587, allocations: 33.5 kB / 313.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1588, allocations: 44.09 kB / 313.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1588, allocations: 3.438 kB / 313.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1588, allocations: 2.031 kB / 313.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1588, allocations: 1.734 kB / 313.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1601, allocations: 0.9158 MB / 314.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1601, allocations: 1.375 kB / 314.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1602, allocations: 41.28 kB / 314.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/0.1608, allocations: 238.1 kB / 315.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1608, allocations: 10.12 kB / 315.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.1632, allocations: 3.873 MB / 319 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1632, allocations: 5.75 kB / 319 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1642, allocations: 0.7281 MB / 319.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1642, allocations: 21.14 kB / 319.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1642, allocations: 7.016 kB / 319.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1643, allocations: 12.98 kB / 319.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.1644, allocations: 33.89 kB / 319.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1644, allocations: 14.55 kB / 319.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1645, allocations: 163.1 kB / 319.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1645, allocations: 0 / 319.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.165, allocations: 104.4 kB / 320 MB, free: 1.762 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.001157/0.1662, allocations: 1.262 MB / 321.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.1669, allocations: 0.5444 MB / 321.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1669, allocations: 0.8125 kB / 321.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.1672, allocations: 421.9 kB / 322.3 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1675, allocations: 34.14 kB / 322.3 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.1725, allocations: 3.299 MB / 325.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1727, allocations: 172.3 kB / 325.8 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1728, allocations: 15.86 kB / 325.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.173, allocations: 92.33 kB / 325.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.173, allocations: 4 kB / 325.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.2021, allocations: 9.359 MB / 335.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.484, allocations: 7.969 kB / 335.2 MB, free: 8.449 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 & 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/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] "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: 10.247056871652603]