Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 53.42 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004333/0.2614, allocations: 2.609 MB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.263, allocations: 0.8879 MB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.2632, allocations: 7.938 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.2634, allocations: 63.48 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.2637, allocations: 103.2 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.264, allocations: 119.7 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.2644, allocations: 350.7 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2646, allocations: 83.59 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2649, allocations: 143.5 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2651, allocations: 131.3 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.2652, allocations: 32 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.2653, allocations: 32 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.2653, allocations: 67.77 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2655, allocations: 127.4 kB / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.266, allocations: 382.4 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.266, allocations: 0 / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.266, allocations: 0 / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.266, allocations: 0 / 436.2 MB, free: 1.297 MB / 334.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.001185/0.2672, allocations: 0.5402 MB / 436.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.01e-05/0.2672, allocations: 19.97 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.2673, allocations: 58.73 kB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2675, allocations: 44.73 kB / 436.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.268, allocations: 206.9 kB / 437.1 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.268, allocations: 25.03 kB / 437.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.2681, allocations: 24.38 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.2686, allocations: 283.8 kB / 437.4 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2687, allocations: 0 / 437.4 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2687, allocations: 16 kB / 437.5 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2687, allocations: 4 kB / 437.5 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.2692, allocations: 210.5 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2708, allocations: 0.8665 MB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2713, allocations: 193.5 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2715, allocations: 107.9 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2715, allocations: 4 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2716, allocations: 38.56 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.2716, allocations: 0 / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005123/0.2767, allocations: 1.384 MB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2768, allocations: 55.41 kB / 440.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.277, allocations: 244.8 kB / 440.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2771, allocations: 29.7 kB / 440.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2772, allocations: 192.5 kB / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2774, allocations: 126.9 kB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2775, allocations: 70.02 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2777, allocations: 338.8 kB / 441.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.2779, allocations: 104.7 kB / 441.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.2782, allocations: 161.5 kB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.2787, allocations: 287.6 kB / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2787, allocations: 0 / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001537/0.2803, allocations: 0.5296 MB / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2803, allocations: 8 kB / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2803, allocations: 3.938 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.2815, allocations: 245.5 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2818, allocations: 55.91 kB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.2868, allocations: 3.891 MB / 446.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.287, allocations: 12 kB / 446.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.287, allocations: 11.98 kB / 446.6 MB, free: 6.449 MB / 350.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.0001905/0.2872, allocations: 157.8 kB / 446.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.2873, allocations: 31.81 kB / 446.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.2874, allocations: 42.95 kB / 446.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2874, allocations: 4 kB / 446.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2874, allocations: 4 kB / 446.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2874, allocations: 0 / 446.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.2895, allocations: 0.9022 MB / 447.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2895, allocations: 0 / 447.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2897, allocations: 43.98 kB / 447.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.2909, allocations: 241.5 kB / 448 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2909, allocations: 8 kB / 448 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/0.2957, allocations: 3.884 MB / 451.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2957, allocations: 0 / 451.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2975, allocations: 0.713 MB / 452.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.2976, allocations: 23.91 kB / 452.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.2976, allocations: 15.94 kB / 452.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2978, allocations: 27.92 kB / 452.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.2979, allocations: 31.95 kB / 452.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2979, allocations: 8 kB / 452.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.2981, allocations: 172.5 kB / 452.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2981, allocations: 0 / 452.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.2987, allocations: 100 kB / 453 MB, free: 15.72 MB / 366.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.002115/0.3008, allocations: 1.281 MB / 454.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3019, allocations: 0.5517 MB / 454.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3019, allocations: 320 / 454.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.3025, allocations: 417.1 kB / 455.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3029, allocations: 24.44 kB / 455.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.3091, allocations: 3.367 MB / 458.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3093, allocations: 177.6 kB / 458.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.3094, allocations: 22.28 kB / 458.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3095, allocations: 91.39 kB / 458.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3095, allocations: 4 kB / 458.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04557/0.3551, allocations: 9.335 MB / 468.2 MB, free: 380 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.77, allocations: 7.875 kB / 468.2 MB, free: 372 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable coil.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.356885285116732]