Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001665/0.001665, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002103/0.002103, allocations: 216 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 46.93 MB / 360.9 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 71.88 kB / 0.4962 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.327, allocations: 66.03 MB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005018/0.3321, allocations: 3.559 MB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3336, allocations: 0.8433 MB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.3338, allocations: 8 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.334, allocations: 75.23 kB / 0.565 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.3343, allocations: 130.9 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3346, allocations: 131.8 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.3352, allocations: 0.5179 MB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.3355, allocations: 182.3 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.3358, allocations: 215.3 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3361, allocations: 231 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.3361, allocations: 52 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.3362, allocations: 52 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.3363, allocations: 107.6 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.3366, allocations: 246.8 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.3372, allocations: 0.5641 MB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3372, allocations: 3.938 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3372, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3372, allocations: 0 / 0.5674 GB, free: 13.7 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001322/0.3385, allocations: 0.6922 MB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3385, allocations: 8.031 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.3386, allocations: 90.7 kB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.3387, allocations: 60.61 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3392, allocations: 263.7 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.3392, allocations: 33.38 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.3393, allocations: 44.38 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.3402, allocations: 463.3 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3402, allocations: 4 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.3402, allocations: 20 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3403, allocations: 12 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.341, allocations: 320.1 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.3436, allocations: 1.623 MB / 0.5709 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.3441, allocations: 221 kB / 0.5711 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.3445, allocations: 133.8 kB / 0.5712 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3445, allocations: 3.938 kB / 0.5712 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3445, allocations: 42.55 kB / 0.5713 GB, free: 9.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.664e-06/0.3445, allocations: 0 / 0.5713 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002961/0.3475, allocations: 1.135 MB / 0.5724 GB, free: 8.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.3476, allocations: 81.11 kB / 0.5725 GB, free: 8.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.3478, allocations: 257.9 kB / 0.5727 GB, free: 7.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3479, allocations: 33.7 kB / 0.5727 GB, free: 7.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3481, allocations: 260.1 kB / 0.573 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.3482, allocations: 130.9 kB / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3483, allocations: 82.02 kB / 0.5732 GB, free: 7.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3485, allocations: 342.8 kB / 0.5735 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3488, allocations: 108.8 kB / 0.5736 GB, free: 6.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3492, allocations: 216.3 kB / 0.5738 GB, free: 6.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.3498, allocations: 335.2 kB / 0.5741 GB, free: 6.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3498, allocations: 0 / 0.5741 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008489/0.3507, allocations: 420.5 kB / 0.5745 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3507, allocations: 8 kB / 0.5745 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3507, allocations: 4 kB / 0.5745 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3509, allocations: 36.77 kB / 0.5746 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3513, allocations: 115.9 kB / 0.5747 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3525, allocations: 1.342 MB / 0.576 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3527, allocations: 24.05 kB / 0.576 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.3528, allocations: 16 kB / 0.576 GB, free: 4.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.353, allocations: 169.6 kB / 0.5762 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.353, allocations: 31.81 kB / 0.5762 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.3531, allocations: 34.11 kB / 0.5763 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3531, allocations: 4 kB / 0.5763 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3531, allocations: 4 kB / 0.5763 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3531, allocations: 4 kB / 0.5763 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3543, allocations: 0.6794 MB / 0.5769 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3543, allocations: 4 kB / 0.5769 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.3547, allocations: 95.94 kB / 0.577 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.343e-05/0.3548, allocations: 28.78 kB / 0.5771 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3548, allocations: 11.94 kB / 0.5771 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.3558, allocations: 1.331 MB / 0.5784 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3559, allocations: 0 / 0.5784 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3569, allocations: 0.6133 MB / 0.579 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.357, allocations: 39.83 kB / 0.579 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.357, allocations: 12 kB / 0.579 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.3573, allocations: 27.92 kB / 0.5791 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.3574, allocations: 23.95 kB / 0.5791 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3574, allocations: 11.98 kB / 0.5791 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.3576, allocations: 181.2 kB / 0.5793 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3576, allocations: 3.938 kB / 0.5793 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.358, allocations: 92 kB / 0.5794 GB, free: 0.6523 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.3594, allocations: 1.151 MB / 0.5805 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.3602, allocations: 399.2 kB / 0.5809 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3602, allocations: 0.75 kB / 0.5809 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.3606, allocations: 242.5 kB / 0.5811 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3611, allocations: 40.23 kB / 0.5811 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.3662, allocations: 3.496 MB / 0.5845 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3667, allocations: 0.8113 MB / 0.5853 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3668, allocations: 34.95 kB / 0.5854 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.367, allocations: 139.4 kB / 0.5855 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.367, allocations: 0 / 0.5855 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.4057, allocations: 6.876 MB / 0.5922 GB, free: 3.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.47, allocations: 3.984 kB / 0.5922 GB, free: 3.379 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.52874024999619]