Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001487/0.001487, 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.001495/0.001495, allocations: 203.8 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2441/0.2441, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 79.88 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3387, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005805/0.3445, allocations: 3.232 MB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3465, allocations: 0.8042 MB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.3467, allocations: 8 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3469, allocations: 71.14 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.3472, allocations: 130.8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3476, allocations: 139.8 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.3482, allocations: 0.5141 MB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.3486, allocations: 178.3 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3488, allocations: 211.3 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3491, allocations: 203 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.3492, allocations: 48 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.3493, allocations: 48 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3494, allocations: 115.5 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.3496, allocations: 211.1 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.3502, allocations: 0.5563 MB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3502, allocations: 4 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3502, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3502, allocations: 0 / 0.567 GB, free: 13.55 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.001335/0.3516, allocations: 0.6922 MB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3516, allocations: 12.03 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3517, allocations: 86.7 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.3518, allocations: 52.61 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.3523, allocations: 263.7 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.3524, allocations: 37.38 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.3525, allocations: 52.36 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.3534, allocations: 0.5065 MB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3534, allocations: 0 / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3534, allocations: 20 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3534, allocations: 15.94 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.3542, allocations: 324.1 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.3566, allocations: 1.51 MB / 0.5704 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.3572, allocations: 221 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3575, allocations: 125.7 kB / 0.5708 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3576, allocations: 4 kB / 0.5708 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3576, allocations: 38.81 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3576, allocations: 4 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002894/0.3605, allocations: 1.134 MB / 0.5719 GB, free: 8.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.3606, allocations: 89.03 kB / 0.572 GB, free: 8.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.3608, allocations: 261.8 kB / 0.5723 GB, free: 7.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3609, allocations: 29.7 kB / 0.5723 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3611, allocations: 272.1 kB / 0.5725 GB, free: 7.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3612, allocations: 126.9 kB / 0.5727 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3613, allocations: 78.08 kB / 0.5727 GB, free: 7.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3615, allocations: 342.7 kB / 0.5731 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3617, allocations: 108.8 kB / 0.5732 GB, free: 6.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.3621, allocations: 212.4 kB / 0.5734 GB, free: 6.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.3627, allocations: 338.5 kB / 0.5737 GB, free: 6.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3627, allocations: 0 / 0.5737 GB, free: 6.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008525/0.3636, allocations: 413.9 kB / 0.5741 GB, free: 5.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3636, allocations: 8 kB / 0.5741 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3636, allocations: 4 kB / 0.5741 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.3638, allocations: 45.14 kB / 0.5741 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.3642, allocations: 123.8 kB / 0.5743 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.3655, allocations: 1.331 MB / 0.5756 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3658, allocations: 15.98 kB / 0.5756 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3658, allocations: 16.06 kB / 0.5756 GB, free: 4.148 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.0002208/0.366, allocations: 169.7 kB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.3661, allocations: 31.81 kB / 0.5758 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.3662, allocations: 38.11 kB / 0.5758 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3662, allocations: 4 kB / 0.5758 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3662, allocations: 4 kB / 0.5758 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3662, allocations: 0 / 0.5758 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3673, allocations: 0.652 MB / 0.5765 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3673, allocations: 4 kB / 0.5765 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.3677, allocations: 91.88 kB / 0.5766 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/0.3678, allocations: 28.78 kB / 0.5766 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3678, allocations: 8.141 kB / 0.5766 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.369, allocations: 1.319 MB / 0.5779 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.369, allocations: 8.031 kB / 0.5779 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3701, allocations: 0.6037 MB / 0.5785 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3702, allocations: 51.83 kB / 0.5785 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.3703, allocations: 11.98 kB / 0.5785 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3705, allocations: 23.98 kB / 0.5786 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3706, allocations: 27.89 kB / 0.5786 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3706, allocations: 12 kB / 0.5786 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3709, allocations: 181.2 kB / 0.5788 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3709, allocations: 0 / 0.5788 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.3713, allocations: 92 kB / 0.5789 GB, free: 0.5938 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.001402/0.3727, allocations: 1.154 MB / 0.58 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.3736, allocations: 397.2 kB / 0.5804 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3736, allocations: 0 / 0.5804 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.374, allocations: 242.5 kB / 0.5806 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.3745, allocations: 46.66 kB / 0.5806 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.3799, allocations: 3.502 MB / 0.5841 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3801, allocations: 203.8 kB / 0.5843 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.3803, allocations: 34.95 kB / 0.5843 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3805, allocations: 143.4 kB / 0.5844 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3805, allocations: 0 / 0.5844 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.4205, allocations: 7.198 MB / 0.5915 GB, free: 3.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.27, allocations: 4.062 kB / 0.5915 GB, free: 3.578 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.421836629044265]