Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001405/0.001405, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001647/0.001647, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 44.9 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006167/0.3147, allocations: 3.55 MB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3165, allocations: 0.8429 MB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3167, allocations: 11.94 kB / 0.5613 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.3169, allocations: 71.3 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3172, allocations: 130.8 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.3177, allocations: 135.8 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007295/0.3184, allocations: 0.5141 MB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.3187, allocations: 178.3 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.3191, allocations: 219.3 kB / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3194, allocations: 234.9 kB / 0.5627 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.3195, allocations: 52 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.3195, allocations: 48 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3196, allocations: 115.6 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3199, allocations: 246.8 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.3206, allocations: 0.5602 MB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3206, allocations: 0 / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3206, allocations: 0 / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3206, allocations: 0 / 0.5637 GB, free: 0.8594 MB / 398.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.001445/0.322, allocations: 0.6922 MB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3221, allocations: 8.031 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.3223, allocations: 94.7 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3224, allocations: 56.66 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.3229, allocations: 263.6 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.3229, allocations: 37.36 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.323, allocations: 48.38 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.3239, allocations: 467.2 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3239, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.324, allocations: 16 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.324, allocations: 12 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.3247, allocations: 324.1 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.3274, allocations: 1.615 MB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.328, allocations: 221 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.3284, allocations: 133.6 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3284, allocations: 4 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3284, allocations: 42.55 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.3284, allocations: 0 / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003115/0.3316, allocations: 1.131 MB / 0.5687 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3316, allocations: 85.05 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.3319, allocations: 261.9 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.332, allocations: 33.7 kB / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.3322, allocations: 260.1 kB / 0.5694 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3323, allocations: 127 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3324, allocations: 82.08 kB / 0.5696 GB, free: 10.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3326, allocations: 342.8 kB / 0.5699 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.3329, allocations: 104.8 kB / 0.57 GB, free: 10.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.3333, allocations: 212.3 kB / 0.5702 GB, free: 9.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.334, allocations: 333.5 kB / 0.5705 GB, free: 9.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.334, allocations: 4 kB / 0.5705 GB, free: 9.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009356/0.3349, allocations: 421.5 kB / 0.5709 GB, free: 9.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.335, allocations: 4 kB / 0.5709 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.335, allocations: 7.984 kB / 0.5709 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.3351, allocations: 36.77 kB / 0.571 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.3356, allocations: 119.8 kB / 0.5711 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.337, allocations: 1.346 MB / 0.5724 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3373, allocations: 24.05 kB / 0.5724 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.3373, allocations: 16 kB / 0.5724 GB, free: 7.398 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.0002336/0.3375, allocations: 173.5 kB / 0.5726 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.3376, allocations: 31.81 kB / 0.5726 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.3377, allocations: 34.11 kB / 0.5727 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3377, allocations: 4 kB / 0.5727 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3377, allocations: 0 / 0.5727 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3377, allocations: 8 kB / 0.5727 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.339, allocations: 0.6823 MB / 0.5733 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.339, allocations: 0 / 0.5733 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.3394, allocations: 99.94 kB / 0.5734 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.634e-05/0.3395, allocations: 32.91 kB / 0.5735 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3396, allocations: 11.94 kB / 0.5735 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.3407, allocations: 1.315 MB / 0.5748 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3407, allocations: 4.031 kB / 0.5748 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3418, allocations: 0.6055 MB / 0.5753 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3419, allocations: 47.77 kB / 0.5754 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.3419, allocations: 8 kB / 0.5754 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3422, allocations: 27.92 kB / 0.5754 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.3423, allocations: 31.89 kB / 0.5755 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3423, allocations: 12 kB / 0.5755 GB, free: 4.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.3425, allocations: 185.2 kB / 0.5756 GB, free: 3.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 0 / 0.5756 GB, free: 3.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.343, allocations: 92 kB / 0.5757 GB, free: 3.801 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.00148/0.3445, allocations: 1.147 MB / 0.5769 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008956/0.3454, allocations: 393.6 kB / 0.5772 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3454, allocations: 4.75 kB / 0.5772 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.3458, allocations: 242.5 kB / 0.5775 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.3463, allocations: 47.3 kB / 0.5775 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.3519, allocations: 3.499 MB / 0.5809 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.3524, allocations: 0.8113 MB / 0.5817 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.3526, allocations: 34.95 kB / 0.5818 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3528, allocations: 139.4 kB / 0.5819 GB, free: 13.24 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3528, allocations: 0 / 0.5819 GB, free: 13.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.3937, allocations: 6.873 MB / 0.5886 GB, free: 6.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.4, allocations: 4.062 kB / 0.5886 GB, free: 6.523 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.479077453026548]