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.001373/0.001373, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001484/0.001484, allocations: 215 kB / 24.48 MB, free: 3.934 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.365/1.365, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.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.001803/0.001803, allocations: 51.92 kB / 347.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2614, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003927/0.2654, allocations: 2.52 MB / 398.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2669, allocations: 0.8546 MB / 399.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.267, allocations: 3.969 kB / 399.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.2673, allocations: 59.03 kB / 399.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.2676, allocations: 104.5 kB / 399.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2678, allocations: 97.69 kB / 400 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.2682, allocations: 352.2 kB / 400.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2684, allocations: 75.84 kB / 400.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2686, allocations: 144.6 kB / 400.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2688, allocations: 132 kB / 400.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.2689, allocations: 32.88 kB / 400.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.2689, allocations: 29.28 kB / 400.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.269, allocations: 68.81 kB / 400.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2691, allocations: 134.4 kB / 400.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.2695, allocations: 356.1 kB / 401.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2695, allocations: 5.062 kB / 401.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2695, allocations: 0 / 401.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.2696, allocations: 0 / 401.3 MB, free: 5.871 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.0008831/0.2704, allocations: 0.5299 MB / 401.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2705, allocations: 13.11 kB / 401.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.2705, allocations: 65.72 kB / 401.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.2706, allocations: 38.09 kB / 401.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.2709, allocations: 206.5 kB / 402.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.271, allocations: 20.31 kB / 402.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.271, allocations: 31.33 kB / 402.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.2715, allocations: 280.6 kB / 402.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2715, allocations: 4 kB / 402.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2715, allocations: 11.28 kB / 402.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2715, allocations: 6 kB / 402.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.272, allocations: 213.9 kB / 402.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2734, allocations: 0.857 MB / 403.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2739, allocations: 188.1 kB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.2741, allocations: 102.7 kB / 403.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2741, allocations: 2.969 kB / 403.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2741, allocations: 33.28 kB / 403.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.2742, allocations: 0 / 403.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004789/0.2789, allocations: 1.396 MB / 405.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.279, allocations: 59.53 kB / 405.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2792, allocations: 231.7 kB / 405.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2792, allocations: 31.58 kB / 405.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.2793, allocations: 180.3 kB / 405.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.2794, allocations: 127.1 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2795, allocations: 68.56 kB / 405.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.2795, allocations: 338 kB / 406.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.2798, allocations: 108.4 kB / 406.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.28, allocations: 155.2 kB / 406.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.2805, allocations: 282.5 kB / 406.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2805, allocations: 0 / 406.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001461/0.2819, allocations: 0.5266 MB / 407.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.282, allocations: 5.5 kB / 407.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.282, allocations: 5.375 kB / 407.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.2831, allocations: 241.6 kB / 407.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.2834, allocations: 61.12 kB / 407.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.2879, allocations: 3.893 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.2882, allocations: 14.36 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.2882, allocations: 14.45 kB / 411.5 MB, free: 14.76 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.0002214/0.2884, allocations: 156 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.2885, allocations: 25.17 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.2886, allocations: 39.55 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2886, allocations: 2.906 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.2886, allocations: 6.219 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2886, allocations: 2.156 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.2909, allocations: 0.9108 MB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2909, allocations: 1.281 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.2911, allocations: 46.5 kB / 412.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.2922, allocations: 235.8 kB / 413 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.2923, allocations: 11.78 kB / 413 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.2975, allocations: 3.876 MB / 416.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2975, allocations: 1.562 kB / 416.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.2993, allocations: 0.7298 MB / 417.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.2994, allocations: 24.23 kB / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.2995, allocations: 14.5 kB / 417.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2997, allocations: 14.11 kB / 417.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2998, allocations: 34.56 kB / 417.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2998, allocations: 6.375 kB / 417.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.3, allocations: 169 kB / 417.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3, allocations: 0 / 417.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006715/0.3007, allocations: 100.2 kB / 417.9 MB, free: 9.875 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.002294/0.303, allocations: 1.267 MB / 419.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.3041, allocations: 0.5529 MB / 419.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3041, allocations: 0 / 419.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007379/0.3048, allocations: 416.3 kB / 420.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3052, allocations: 28.48 kB / 420.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/0.3114, allocations: 3.346 MB / 423.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.3116, allocations: 173.3 kB / 423.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.3117, allocations: 20.78 kB / 423.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3119, allocations: 95.88 kB / 423.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3119, allocations: 1.656 kB / 423.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.3562, allocations: 9.249 MB / 433.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.1, allocations: 4 kB / 433.1 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 646] (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: 16.640792374964803]