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.001713/0.001713, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002194/0.002194, allocations: 208.1 kB / 23.73 MB, free: 4.379 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2326/0.2326, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.0021/0.0021, allocations: 75.88 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 66.03 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005343/0.3686, allocations: 3.237 MB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3703, allocations: 0.7964 MB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.3705, allocations: 15.94 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3707, allocations: 75.23 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.371, allocations: 126.8 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3714, allocations: 131.8 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.3719, allocations: 0.5219 MB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.3723, allocations: 178.3 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.3725, allocations: 211.3 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.3729, allocations: 242.9 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.373, allocations: 52 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.373, allocations: 48 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3732, allocations: 103.6 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.3734, allocations: 211.1 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.3741, allocations: 0.5602 MB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3741, allocations: 4 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3741, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3741, allocations: 4 kB / 0.5669 GB, free: 13.75 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.001448/0.3755, allocations: 0.6962 MB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3756, allocations: 8.031 kB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3757, allocations: 90.64 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/0.3758, allocations: 52.61 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.3763, allocations: 267.6 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.3764, allocations: 37.38 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.3765, allocations: 48.38 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.3774, allocations: 0.5026 MB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3774, allocations: 0 / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.3775, allocations: 23.94 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3775, allocations: 12 kB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.3783, allocations: 324.1 kB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.381, allocations: 1.506 MB / 0.5704 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.3817, allocations: 229 kB / 0.5706 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.382, allocations: 125.7 kB / 0.5707 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.382, allocations: 7.938 kB / 0.5707 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.3821, allocations: 38.81 kB / 0.5708 GB, free: 9.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.3821, allocations: 0 / 0.5708 GB, free: 9.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003244/0.3853, allocations: 1.138 MB / 0.5719 GB, free: 8.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3854, allocations: 81.11 kB / 0.572 GB, free: 8.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3857, allocations: 265.8 kB / 0.5722 GB, free: 8.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.3858, allocations: 33.7 kB / 0.5722 GB, free: 7.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.386, allocations: 268.1 kB / 0.5725 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3861, allocations: 130.9 kB / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3862, allocations: 70.14 kB / 0.5727 GB, free: 7.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3864, allocations: 342.7 kB / 0.573 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.3867, allocations: 108.8 kB / 0.5731 GB, free: 7.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.387, allocations: 216.4 kB / 0.5733 GB, free: 6.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.3877, allocations: 345.4 kB / 0.5737 GB, free: 6.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3877, allocations: 0 / 0.5737 GB, free: 6.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008965/0.3886, allocations: 414 kB / 0.574 GB, free: 6.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3886, allocations: 8 kB / 0.5741 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3886, allocations: 4 kB / 0.5741 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.3888, allocations: 32.78 kB / 0.5741 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.3893, allocations: 124.1 kB / 0.5742 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3907, allocations: 1.335 MB / 0.5755 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3909, allocations: 15.98 kB / 0.5755 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.391, allocations: 19.98 kB / 0.5755 GB, free: 4.344 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.0002325/0.3912, allocations: 165.7 kB / 0.5757 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.3913, allocations: 39.75 kB / 0.5757 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.3914, allocations: 42.11 kB / 0.5758 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3914, allocations: 4 kB / 0.5758 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3914, allocations: 0 / 0.5758 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3914, allocations: 0 / 0.5758 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3926, allocations: 0.6586 MB / 0.5764 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3927, allocations: 0 / 0.5764 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.3931, allocations: 95.94 kB / 0.5765 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.3932, allocations: 32.78 kB / 0.5766 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3932, allocations: 4 kB / 0.5766 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.3945, allocations: 1.315 MB / 0.5778 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3945, allocations: 4.031 kB / 0.5778 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3956, allocations: 0.6057 MB / 0.5784 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3958, allocations: 51.92 kB / 0.5785 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.3958, allocations: 11.98 kB / 0.5785 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3961, allocations: 19.92 kB / 0.5785 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.3962, allocations: 35.94 kB / 0.5786 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.3962, allocations: 12 kB / 0.5786 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3964, allocations: 177.2 kB / 0.5787 GB, free: 0.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3964, allocations: 0 / 0.5787 GB, free: 0.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.3969, allocations: 92 kB / 0.5788 GB, free: 0.7852 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.001535/0.3985, allocations: 1.152 MB / 0.5799 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.3994, allocations: 390.2 kB / 0.5803 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3994, allocations: 0.75 kB / 0.5803 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.3998, allocations: 249.2 kB / 0.5806 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.4003, allocations: 38.55 kB / 0.5806 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.4058, allocations: 3.496 MB / 0.584 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.406, allocations: 211.8 kB / 0.5842 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.4062, allocations: 34.95 kB / 0.5842 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4064, allocations: 139.4 kB / 0.5844 GB, free: 10.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4064, allocations: 3.938 kB / 0.5844 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.4471, allocations: 7.32 MB / 0.5915 GB, free: 3.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 9.531 kB / 0.5915 GB, free: 3.684 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.382986075012013]