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.001896/0.001896, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002181/0.002181, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2367/0.2367, allocations: 46.94 MB / 361.7 MB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 66.02 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005013/0.3254, allocations: 3.562 MB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.327, allocations: 0.8373 MB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.3272, allocations: 8 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3274, allocations: 71.34 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.3277, allocations: 134.8 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.328, allocations: 135.8 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.3286, allocations: 0.5139 MB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3289, allocations: 182.3 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.3292, allocations: 215.3 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.3295, allocations: 239 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.3296, allocations: 48 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.3296, allocations: 48 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3297, allocations: 115.6 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.3301, allocations: 246.8 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.3307, allocations: 0.5602 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3307, allocations: 4 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3307, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3307, allocations: 0 / 0.5681 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.001378/0.3321, allocations: 0.6962 MB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3321, allocations: 8.031 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.573e-05/0.3322, allocations: 13.19 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.558e-05/0.3323, allocations: 86.7 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3324, allocations: 56.61 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.3328, allocations: 263.7 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.3329, allocations: 37.38 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.3329, allocations: 44.38 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008942/0.3338, allocations: 467 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3339, allocations: 4 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3339, allocations: 20 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.3339, allocations: 12 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.3347, allocations: 320.2 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.3373, allocations: 1.615 MB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.3379, allocations: 225 kB / 0.5719 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.3382, allocations: 141.7 kB / 0.572 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3383, allocations: 4 kB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3383, allocations: 30.56 kB / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.3383, allocations: 0 / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003194/0.3415, allocations: 1.139 MB / 0.5732 GB, free: 8.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.3416, allocations: 81.11 kB / 0.5732 GB, free: 8.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.3419, allocations: 257.9 kB / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.342, allocations: 29.7 kB / 0.5735 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3422, allocations: 272.1 kB / 0.5738 GB, free: 7.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3423, allocations: 126.9 kB / 0.5739 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3424, allocations: 78.08 kB / 0.574 GB, free: 7.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3426, allocations: 350.8 kB / 0.5743 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3429, allocations: 108.8 kB / 0.5744 GB, free: 6.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.3433, allocations: 212.3 kB / 0.5746 GB, free: 6.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.344, allocations: 340.8 kB / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.344, allocations: 0 / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009552/0.345, allocations: 426.1 kB / 0.5753 GB, free: 5.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.345, allocations: 4 kB / 0.5753 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.345, allocations: 4 kB / 0.5753 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.3452, allocations: 32.78 kB / 0.5754 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.3457, allocations: 119.8 kB / 0.5755 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3469, allocations: 1.335 MB / 0.5768 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.3472, allocations: 20.05 kB / 0.5768 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3472, allocations: 20 kB / 0.5768 GB, free: 4.086 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.0002623/0.3475, allocations: 173.5 kB / 0.577 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3476, allocations: 27.81 kB / 0.577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.3477, allocations: 42.11 kB / 0.5771 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3477, allocations: 4 kB / 0.5771 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3477, allocations: 0 / 0.5771 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3477, allocations: 3.984 kB / 0.5771 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.349, allocations: 0.6794 MB / 0.5777 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.349, allocations: 0 / 0.5777 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3495, allocations: 95.94 kB / 0.5778 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.3496, allocations: 32.78 kB / 0.5779 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.3496, allocations: 8 kB / 0.5779 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.3508, allocations: 1.323 MB / 0.5792 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3508, allocations: 3.984 kB / 0.5792 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3519, allocations: 0.6017 MB / 0.5797 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.352, allocations: 51.77 kB / 0.5798 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.3521, allocations: 8 kB / 0.5798 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.3524, allocations: 19.92 kB / 0.5798 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.3525, allocations: 31.95 kB / 0.5799 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.3525, allocations: 15.92 kB / 0.5799 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3527, allocations: 185.2 kB / 0.58 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3527, allocations: 0 / 0.58 GB, free: 0.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005331/0.3532, allocations: 92 kB / 0.5801 GB, free: 0.4922 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.001495/0.3547, allocations: 1.151 MB / 0.5813 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3557, allocations: 394 kB / 0.5816 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3557, allocations: 0.75 kB / 0.5816 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.3562, allocations: 251.8 kB / 0.5819 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.3567, allocations: 44.23 kB / 0.5819 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.3623, allocations: 3.487 MB / 0.5853 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3628, allocations: 0.8113 MB / 0.5861 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3629, allocations: 34.95 kB / 0.5861 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.3631, allocations: 147.4 kB / 0.5863 GB, free: 9.93 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3631, allocations: 3.938 kB / 0.5863 GB, free: 9.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3966, allocations: 6.9 MB / 0.593 GB, free: 3.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.62, allocations: 10.64 kB / 0.593 GB, free: 3.191 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.889099533029366]