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.001578/0.001578, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001975/0.001975, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.488/1.488, allocations: 230.5 MB / 254 MB, free: 15.18 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.003127/0.003127, allocations: 59.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1364, allocations: 53.39 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004689/0.1411, allocations: 2.779 MB / 429.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1431, allocations: 0.9501 MB / 430.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.1433, allocations: 8 kB / 430.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1436, allocations: 67.44 kB / 430.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1439, allocations: 103.2 kB / 430.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1443, allocations: 115.8 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.1448, allocations: 358.6 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.145, allocations: 81.69 kB / 430.8 MB, free: 172 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1452, allocations: 143.5 kB / 430.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1455, allocations: 151.4 kB / 431.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.1455, allocations: 32 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.1456, allocations: 31.94 kB / 431.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.1457, allocations: 75.7 kB / 431.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.1458, allocations: 155.2 kB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.1463, allocations: 366.5 kB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1463, allocations: 4 kB / 431.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1463, allocations: 0 / 431.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.1463, allocations: 0 / 431.7 MB, free: 15.22 MB / 366.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.001125/0.1474, allocations: 0.6233 MB / 432.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1475, allocations: 11.97 kB / 432.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.1476, allocations: 62.72 kB / 432.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.1478, allocations: 44.73 kB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1482, allocations: 268.7 kB / 432.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1482, allocations: 20.94 kB / 432.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.1483, allocations: 24.38 kB / 432.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.1488, allocations: 253 kB / 433 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1488, allocations: 4 kB / 433 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.1489, allocations: 12 kB / 433.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1489, allocations: 8 kB / 433.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1494, allocations: 206.1 kB / 433.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1511, allocations: 0.9978 MB / 434.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.1516, allocations: 186.5 kB / 434.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.1518, allocations: 112.8 kB / 434.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.1519, allocations: 8.062 kB / 434.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1519, allocations: 30.56 kB / 434.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.1519, allocations: 4 kB / 434.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.005227/0.1571, allocations: 1.546 MB / 436.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1572, allocations: 59.34 kB / 436.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1575, allocations: 233 kB / 436.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.1575, allocations: 33.7 kB / 436.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1576, allocations: 188.4 kB / 436.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1577, allocations: 130.9 kB / 436.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1579, allocations: 62.08 kB / 436.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.158, allocations: 334.8 kB / 437.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1583, allocations: 112.7 kB / 437.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.1586, allocations: 165.7 kB / 437.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1591, allocations: 283.6 kB / 437.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1591, allocations: 3.938 kB / 437.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001585/0.1607, allocations: 0.5334 MB / 438.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1607, allocations: 4 kB / 438.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1607, allocations: 4 kB / 438.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.162, allocations: 237.5 kB / 438.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1622, allocations: 63.89 kB / 438.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.1674, allocations: 4.143 MB / 442.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1677, allocations: 8 kB / 442.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1677, allocations: 16.06 kB / 442.7 MB, free: 3.594 MB / 366.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.0002183/0.168, allocations: 153.8 kB / 442.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.168, allocations: 23.86 kB / 442.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1681, allocations: 34.97 kB / 442.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1681, allocations: 11.92 kB / 442.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.1681, allocations: 4 kB / 442.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1682, allocations: 0 / 442.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.1703, allocations: 0.985 MB / 443.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1703, allocations: 0 / 443.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.1706, allocations: 39.97 kB / 444 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.1718, allocations: 249.5 kB / 444.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1718, allocations: 8 kB / 444.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.229/0.4008, allocations: 4.113 MB / 448.3 MB, free: 21.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4008, allocations: 0 / 448.3 MB, free: 21.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.4025, allocations: 0.7253 MB / 449.1 MB, free: 21.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.4025, allocations: 109.2 kB / 449.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4026, allocations: 9.656 kB / 449.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.4028, allocations: 12.84 kB / 449.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.4029, allocations: 35.73 kB / 449.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.4029, allocations: 8.719 kB / 449.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.403, allocations: 171.1 kB / 449.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.403, allocations: 0 / 449.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006029/0.4036, allocations: 102.4 kB / 449.5 MB, free: 21.52 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.001849/0.4055, allocations: 1.277 MB / 450.8 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009127/0.4064, allocations: 0.5406 MB / 451.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4064, allocations: 1.125 kB / 451.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.4069, allocations: 423.2 kB / 451.7 MB, free: 20.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.4073, allocations: 28.44 kB / 451.7 MB, free: 20.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.4128, allocations: 3.371 MB / 455.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.4131, allocations: 0.7797 MB / 455.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.698e-05/0.4132, allocations: 17.66 kB / 455.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4133, allocations: 98.95 kB / 456 MB, free: 17.53 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4133, allocations: 0 / 456 MB, free: 17.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.4654, allocations: 8.556 MB / 464.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.07, allocations: 9.375 kB / 464.6 MB, free: 16.41 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.822848528972827]