Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.00138/0.00138, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.001475/0.001475, allocations: 207 kB / 23.74 MB, free: 4.539 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.92 MB / 360.8 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 71.88 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3922, allocations: 66.09 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007174/0.3994, allocations: 5.368 MB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.4024, allocations: 1.678 MB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.4027, allocations: 16 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.4063, allocations: 1.602 MB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008445/0.4071, allocations: 313.6 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4083, allocations: 0.5252 MB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009564/0.4093, allocations: 0.8046 MB / 0.5708 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.4103, allocations: 0.6407 MB / 0.5714 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.4108, allocations: 358.7 kB / 0.5718 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.4113, allocations: 458.2 kB / 0.5722 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.4114, allocations: 76 kB / 0.5723 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.4119, allocations: 195.9 kB / 0.5725 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.412, allocations: 183.3 kB / 0.5726 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.4124, allocations: 418 kB / 0.573 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.4138, allocations: 1.187 MB / 0.5742 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4138, allocations: 0 / 0.5742 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4138, allocations: 0 / 0.5742 GB, free: 6.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.4138, allocations: 4 kB / 0.5742 GB, free: 6.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003416/0.4172, allocations: 1.297 MB / 0.5755 GB, free: 5.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4173, allocations: 12.03 kB / 0.5755 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.4174, allocations: 144.4 kB / 0.5756 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.419, allocations: 240.2 kB / 0.5758 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4192, allocations: 205.4 kB / 0.576 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.4193, allocations: 70.38 kB / 0.5761 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.4194, allocations: 107.9 kB / 0.5762 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.421, allocations: 0.936 MB / 0.5771 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.421, allocations: 3.953 kB / 0.5771 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.4211, allocations: 44 kB / 0.5772 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.4211, allocations: 24 kB / 0.5772 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.4224, allocations: 0.7262 MB / 0.5779 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005349/0.4278, allocations: 3.684 MB / 0.5815 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.4294, allocations: 0.7694 MB / 0.5822 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.4298, allocations: 265.4 kB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/0.4299, allocations: 28.28 kB / 0.5825 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.4299, allocations: 46.89 kB / 0.5826 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.4299, allocations: 0 / 0.5826 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002693/0.4326, allocations: 1.021 MB / 0.5836 GB, free: 12.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.4327, allocations: 136.5 kB / 0.5837 GB, free: 12.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.4332, allocations: 320.1 kB / 0.584 GB, free: 11.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.4332, allocations: 37.7 kB / 0.584 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.4335, allocations: 411.8 kB / 0.5844 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.4337, allocations: 234 kB / 0.5846 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.434, allocations: 154.6 kB / 0.5848 GB, free: 11.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4342, allocations: 354.7 kB / 0.5851 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.4346, allocations: 201.9 kB / 0.5853 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.4351, allocations: 405.9 kB / 0.5857 GB, free: 10.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.4361, allocations: 0.6181 MB / 0.5863 GB, free: 9.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4361, allocations: 4 kB / 0.5863 GB, free: 9.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001611/0.4377, allocations: 0.8737 MB / 0.5872 GB, free: 8.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4377, allocations: 9.875 kB / 0.5872 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4377, allocations: 7.984 kB / 0.5872 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/0.4385, allocations: 223.4 kB / 0.5874 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.4389, allocations: 147.7 kB / 0.5875 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.4459, allocations: 6.293 MB / 0.5937 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.4464, allocations: 87.39 kB / 0.5938 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.4465, allocations: 32 kB / 0.5938 GB, free: 1.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003766/0.4469, allocations: 217.6 kB / 0.594 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.447, allocations: 51.77 kB / 0.5941 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.4483, allocations: 0.6957 MB / 0.5947 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4484, allocations: 8 kB / 0.5947 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4484, allocations: 4 kB / 0.5948 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.4484, allocations: 11.98 kB / 0.5948 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.451, allocations: 1.526 MB / 0.5963 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.451, allocations: 0 / 0.5963 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.4513, allocations: 72.17 kB / 0.5963 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005536/0.4519, allocations: 215.2 kB / 0.5965 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.4519, allocations: 15.98 kB / 0.5965 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.4581, allocations: 6.289 MB / 0.6027 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4581, allocations: 4.062 kB / 0.6027 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4598, allocations: 1.194 MB / 0.6039 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.46, allocations: 51.66 kB / 0.6039 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.46, allocations: 12 kB / 0.6039 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.4604, allocations: 12 kB / 0.6039 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4605, allocations: 67.77 kB / 0.604 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4605, allocations: 20 kB / 0.604 GB, free: 6.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.4608, allocations: 215.1 kB / 0.6042 GB, free: 5.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4608, allocations: 0 / 0.6042 GB, free: 5.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001044/0.4618, allocations: 279.3 kB / 0.6045 GB, free: 5.699 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00217/0.464, allocations: 1.765 MB / 0.6062 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.4657, allocations: 1.054 MB / 0.6072 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4657, allocations: 0 / 0.6072 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.4667, allocations: 0.7559 MB / 0.608 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.4674, allocations: 52.89 kB / 0.608 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/0.4749, allocations: 5.132 MB / 0.613 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.4756, allocations: 0.9149 MB / 0.6139 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.4758, allocations: 68.53 kB / 0.614 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.4761, allocations: 231.3 kB / 0.6142 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4761, allocations: 4 kB / 0.6142 GB, free: 11.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07109/0.5472, allocations: 12.54 MB / 0.6265 GB, free: 14.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.78, allocations: 6.406 kB / 0.6265 GB, free: 14.86 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterHollowSphere.port_p.reference.gamma in file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.702876379000372]