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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001439/0.001439, allocations: 209.3 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2397/0.2397, allocations: 46.95 MB / 360.9 MB, free: 3.996 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.002062/0.002062, allocations: 75.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 66.03 MB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005303/0.3454, allocations: 3.237 MB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3471, allocations: 0.8002 MB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.3473, allocations: 15.94 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3475, allocations: 75.23 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.3478, allocations: 122.8 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3482, allocations: 127.8 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.3488, allocations: 0.5258 MB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.3491, allocations: 166.3 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3494, allocations: 215.3 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3497, allocations: 202.9 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.648e-05/0.3497, allocations: 48 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.3498, allocations: 55.94 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3499, allocations: 107.6 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.3502, allocations: 211.1 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.3508, allocations: 0.5602 MB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3508, allocations: 0 / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3508, allocations: 0 / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3508, allocations: 0 / 0.5669 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.001376/0.3522, allocations: 0.6962 MB / 0.5676 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3523, allocations: 12.03 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.3524, allocations: 90.7 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.634e-05/0.3525, allocations: 52.61 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.353, allocations: 259.7 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.353, allocations: 37.38 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.3531, allocations: 52.3 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.354, allocations: 0.5065 MB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.354, allocations: 0 / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.354, allocations: 20 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3541, allocations: 12 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.3548, allocations: 328.1 kB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.3574, allocations: 1.506 MB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.358, allocations: 229 kB / 0.5706 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.3583, allocations: 121.7 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3584, allocations: 4 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3584, allocations: 42.75 kB / 0.5707 GB, free: 9.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/0.3584, allocations: 0 / 0.5707 GB, free: 9.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003019/0.3614, allocations: 1.142 MB / 0.5718 GB, free: 8.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.3615, allocations: 81.11 kB / 0.5719 GB, free: 8.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.3618, allocations: 265.8 kB / 0.5722 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3618, allocations: 29.7 kB / 0.5722 GB, free: 7.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.362, allocations: 272.1 kB / 0.5725 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3621, allocations: 126.9 kB / 0.5726 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3623, allocations: 74.14 kB / 0.5726 GB, free: 7.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3624, allocations: 342.7 kB / 0.573 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.3627, allocations: 112.8 kB / 0.5731 GB, free: 6.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.3631, allocations: 208.4 kB / 0.5733 GB, free: 6.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.3637, allocations: 345.4 kB / 0.5736 GB, free: 6.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3637, allocations: 0 / 0.5736 GB, free: 6.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008637/0.3646, allocations: 413.9 kB / 0.574 GB, free: 5.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3646, allocations: 8 kB / 0.574 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3646, allocations: 4 kB / 0.574 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.3648, allocations: 44.7 kB / 0.5741 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.3653, allocations: 124.2 kB / 0.5742 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3666, allocations: 1.327 MB / 0.5755 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.3668, allocations: 16 kB / 0.5755 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3669, allocations: 15.98 kB / 0.5755 GB, free: 4.301 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.0002221/0.3671, allocations: 175.2 kB / 0.5757 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3672, allocations: 31.81 kB / 0.5757 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.3672, allocations: 34.11 kB / 0.5757 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3672, allocations: 4 kB / 0.5757 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3672, allocations: 4 kB / 0.5757 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3672, allocations: 0 / 0.5757 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3684, allocations: 0.6481 MB / 0.5764 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3684, allocations: 12 kB / 0.5764 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.3688, allocations: 87.94 kB / 0.5765 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-05/0.3689, allocations: 32.72 kB / 0.5765 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3689, allocations: 8.141 kB / 0.5765 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.37, allocations: 1.319 MB / 0.5778 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.37, allocations: 8.094 kB / 0.5778 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3711, allocations: 0.6016 MB / 0.5784 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3712, allocations: 51.83 kB / 0.5784 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.3713, allocations: 8 kB / 0.5784 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.3715, allocations: 23.92 kB / 0.5785 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.3716, allocations: 27.94 kB / 0.5785 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3716, allocations: 12 kB / 0.5785 GB, free: 1.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.3718, allocations: 185.2 kB / 0.5787 GB, free: 0.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3718, allocations: 0 / 0.5787 GB, free: 0.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.3723, allocations: 92 kB / 0.5788 GB, free: 0.7422 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.001422/0.3737, allocations: 1.15 MB / 0.5799 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.3746, allocations: 390.7 kB / 0.5803 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3746, allocations: 4.25 kB / 0.5803 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.375, allocations: 242.5 kB / 0.5805 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3755, allocations: 44.83 kB / 0.5805 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/0.3808, allocations: 3.5 MB / 0.584 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3811, allocations: 207.8 kB / 0.5842 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.3812, allocations: 38.95 kB / 0.5842 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.3814, allocations: 139.4 kB / 0.5843 GB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3814, allocations: 0 / 0.5843 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.4222, allocations: 7.194 MB / 0.5914 GB, free: 3.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 2.922 kB / 0.5914 GB, free: 3.773 MB / 430.1 MB " [Timeout remaining time 648] (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.465751408599317]