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.001947/0.001947, allocations: 110 kB / 20.43 MB, free: 1.453 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.002509/0.002509, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.528/1.528, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.2328/0.2328, allocations: 46.91 MB / 360.8 MB, free: 4.168 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.003462/0.003462, allocations: 75.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3532, allocations: 66.1 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005113/0.3583, allocations: 3.537 MB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3601, allocations: 0.8352 MB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.3603, allocations: 8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3606, allocations: 75.23 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.3608, allocations: 130.8 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.3612, allocations: 139.8 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.3619, allocations: 0.518 MB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.3622, allocations: 178.3 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.3625, allocations: 215.3 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.3628, allocations: 235 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.3629, allocations: 48 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.363, allocations: 56 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3631, allocations: 111.6 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3634, allocations: 238.9 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00073/0.3641, allocations: 0.5679 MB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3641, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3641, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3641, allocations: 0 / 0.5674 GB, free: 13.37 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.001543/0.3657, allocations: 0.6961 MB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3657, allocations: 8.031 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.3658, allocations: 90.7 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3659, allocations: 60.55 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.3666, allocations: 267.7 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.3666, allocations: 33.38 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.3667, allocations: 48.38 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.3676, allocations: 463.3 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3676, allocations: 0 / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.3677, allocations: 20 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3677, allocations: 12 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.3685, allocations: 328.1 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.3713, allocations: 1.615 MB / 0.571 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.3719, allocations: 228.2 kB / 0.5712 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3722, allocations: 133.9 kB / 0.5713 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3722, allocations: 7.938 kB / 0.5713 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.3723, allocations: 38.56 kB / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.106e-06/0.3723, allocations: 0 / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003237/0.3755, allocations: 1.123 MB / 0.5724 GB, free: 7.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3756, allocations: 85.11 kB / 0.5725 GB, free: 7.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.3759, allocations: 261.9 kB / 0.5728 GB, free: 7.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.376, allocations: 33.7 kB / 0.5728 GB, free: 7.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3762, allocations: 268.1 kB / 0.5731 GB, free: 7.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3763, allocations: 123 kB / 0.5732 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3764, allocations: 82.02 kB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3766, allocations: 338.8 kB / 0.5736 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.3769, allocations: 112.8 kB / 0.5737 GB, free: 6.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.3773, allocations: 216.3 kB / 0.5739 GB, free: 6.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.378, allocations: 330.5 kB / 0.5742 GB, free: 6.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.378, allocations: 8 kB / 0.5742 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009525/0.3789, allocations: 422.1 kB / 0.5746 GB, free: 5.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3789, allocations: 8 kB / 0.5746 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.379, allocations: 0 / 0.5746 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3791, allocations: 32.78 kB / 0.5747 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.3796, allocations: 119.9 kB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3809, allocations: 1.338 MB / 0.5761 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3812, allocations: 19.98 kB / 0.5761 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3812, allocations: 24.06 kB / 0.5761 GB, free: 3.914 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.0002247/0.3815, allocations: 169.6 kB / 0.5763 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.3815, allocations: 31.81 kB / 0.5763 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.3816, allocations: 34.11 kB / 0.5764 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3816, allocations: 4 kB / 0.5764 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3816, allocations: 4 kB / 0.5764 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.3816, allocations: 3.984 kB / 0.5764 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.3829, allocations: 0.6856 MB / 0.577 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3829, allocations: 4 kB / 0.577 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.3834, allocations: 91.88 kB / 0.5771 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.3835, allocations: 36.97 kB / 0.5772 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.3835, allocations: 11.98 kB / 0.5772 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3847, allocations: 1.315 MB / 0.5785 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3847, allocations: 4.031 kB / 0.5785 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3858, allocations: 0.6016 MB / 0.579 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3859, allocations: 43.83 kB / 0.5791 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.3859, allocations: 8 kB / 0.5791 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3862, allocations: 31.91 kB / 0.5791 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.3863, allocations: 23.95 kB / 0.5791 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3863, allocations: 12 kB / 0.5792 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3865, allocations: 181.2 kB / 0.5793 GB, free: 432 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 3.938 kB / 0.5793 GB, free: 428 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.387, allocations: 92 kB / 0.5794 GB, free: 336 kB / 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.001429/0.3884, allocations: 1.147 MB / 0.5805 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009718/0.3894, allocations: 399.9 kB / 0.5809 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3894, allocations: 0 / 0.5809 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.3899, allocations: 247.3 kB / 0.5812 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.3904, allocations: 50.78 kB / 0.5812 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.3961, allocations: 3.491 MB / 0.5846 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3966, allocations: 0.8113 MB / 0.5854 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.3968, allocations: 34.95 kB / 0.5854 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.3971, allocations: 139.4 kB / 0.5856 GB, free: 9.758 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3971, allocations: 0 / 0.5856 GB, free: 9.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.4393, allocations: 6.87 MB / 0.5923 GB, free: 3.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.26, allocations: 8 kB / 0.5923 GB, free: 3.016 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.474132381001255]