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.001369/0.001369, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001621/0.001621, allocations: 199.1 kB / 23.72 MB, free: 4.488 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2208/0.2208, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.001961/0.001961, allocations: 67.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 66.03 MB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005402/0.3391, allocations: 3.232 MB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3408, allocations: 0.8041 MB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.341, allocations: 11.94 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.3412, allocations: 71.36 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.3415, allocations: 138.7 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.3419, allocations: 123.8 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.3425, allocations: 0.5219 MB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3428, allocations: 162.4 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.343, allocations: 219.3 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.3433, allocations: 199 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.3434, allocations: 52 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.3435, allocations: 48 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3436, allocations: 119.5 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3438, allocations: 207.1 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.3444, allocations: 0.5563 MB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3444, allocations: 0 / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3444, allocations: 0 / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3444, allocations: 0 / 0.5669 GB, free: 13.64 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.00135/0.3458, allocations: 0.6962 MB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3458, allocations: 8.031 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.346, allocations: 90.7 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.346, allocations: 56.61 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.3466, allocations: 259.7 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.3466, allocations: 37.38 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.3467, allocations: 48.38 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.3476, allocations: 0.5026 MB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3477, allocations: 4 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.3477, allocations: 23.94 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3477, allocations: 12 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.3485, allocations: 328.1 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.3512, allocations: 1.51 MB / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.3519, allocations: 229 kB / 0.5706 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.3522, allocations: 129.6 kB / 0.5707 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3522, allocations: 8 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3523, allocations: 38.75 kB / 0.5707 GB, free: 9.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.3523, allocations: 0 / 0.5707 GB, free: 9.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003035/0.3553, allocations: 1.135 MB / 0.5718 GB, free: 8.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.3554, allocations: 85.05 kB / 0.5719 GB, free: 8.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.3557, allocations: 265.8 kB / 0.5722 GB, free: 7.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3557, allocations: 33.7 kB / 0.5722 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3559, allocations: 268.1 kB / 0.5725 GB, free: 7.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3561, allocations: 126.9 kB / 0.5726 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3562, allocations: 78.12 kB / 0.5727 GB, free: 7.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3563, allocations: 342.8 kB / 0.573 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3566, allocations: 108.8 kB / 0.5731 GB, free: 6.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.357, allocations: 204.4 kB / 0.5733 GB, free: 6.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3576, allocations: 341 kB / 0.5736 GB, free: 6.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3576, allocations: 0 / 0.5736 GB, free: 6.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008804/0.3585, allocations: 417.9 kB / 0.574 GB, free: 5.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3585, allocations: 4.375 kB / 0.574 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3585, allocations: 8 kB / 0.574 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.3587, allocations: 36.78 kB / 0.5741 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3592, allocations: 123.8 kB / 0.5742 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3604, allocations: 1.331 MB / 0.5755 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3607, allocations: 24.05 kB / 0.5755 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3607, allocations: 12 kB / 0.5755 GB, free: 4.238 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.0002378/0.3609, allocations: 169.7 kB / 0.5757 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.361, allocations: 31.81 kB / 0.5757 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.3611, allocations: 38.11 kB / 0.5757 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3611, allocations: 4 kB / 0.5757 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3611, allocations: 0 / 0.5757 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3611, allocations: 3.984 kB / 0.5757 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3623, allocations: 0.652 MB / 0.5764 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3623, allocations: 0 / 0.5764 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.3627, allocations: 95.88 kB / 0.5765 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-05/0.3628, allocations: 28.78 kB / 0.5765 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.3629, allocations: 8 kB / 0.5765 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.364, allocations: 1.323 MB / 0.5778 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.364, allocations: 3.938 kB / 0.5778 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3651, allocations: 0.5977 MB / 0.5784 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3653, allocations: 59.88 kB / 0.5784 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3653, allocations: 11.94 kB / 0.5785 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.3656, allocations: 23.92 kB / 0.5785 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.3657, allocations: 27.89 kB / 0.5785 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3657, allocations: 12 kB / 0.5785 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.3659, allocations: 181.2 kB / 0.5787 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3659, allocations: 0 / 0.5787 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3664, allocations: 92 kB / 0.5788 GB, free: 0.6797 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.001582/0.368, allocations: 1.151 MB / 0.5799 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009959/0.369, allocations: 395.8 kB / 0.5803 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.369, allocations: 0 / 0.5803 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.3694, allocations: 242.5 kB / 0.5805 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.37, allocations: 51.67 kB / 0.5806 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/0.3754, allocations: 3.494 MB / 0.584 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3757, allocations: 203.8 kB / 0.5842 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.3758, allocations: 34.95 kB / 0.5842 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.376, allocations: 147.4 kB / 0.5843 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.376, allocations: 0 / 0.5843 GB, free: 10.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.4159, allocations: 7.187 MB / 0.5914 GB, free: 3.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 11.28 kB / 0.5914 GB, free: 3.707 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 & /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.50579161895439]