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.001285/0.001285, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001448/0.001448, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2698/0.2698, allocations: 46.93 MB / 360.9 MB, free: 4.289 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.002186/0.002186, allocations: 67.91 kB / 0.4962 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3239, allocations: 66.04 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005983/0.3299, allocations: 3.556 MB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3319, allocations: 0.843 MB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.3321, allocations: 8 kB / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3324, allocations: 75.28 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.3327, allocations: 126.8 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3331, allocations: 131.8 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.3337, allocations: 0.5219 MB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.3341, allocations: 182.3 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3343, allocations: 211.3 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.3346, allocations: 235 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.3347, allocations: 52 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.3348, allocations: 48 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3349, allocations: 111.6 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3352, allocations: 250.8 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.3359, allocations: 0.5602 MB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3359, allocations: 4 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3359, allocations: 0 / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.3359, allocations: 0 / 0.5674 GB, free: 13.56 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.001406/0.3373, allocations: 0.6962 MB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3374, allocations: 12.03 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3375, allocations: 86.7 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.3376, allocations: 52.61 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.338, allocations: 259.7 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.3381, allocations: 37.38 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.3382, allocations: 48.38 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.339, allocations: 467.3 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.339, allocations: 3.938 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.3391, allocations: 20 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3391, allocations: 12 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.3399, allocations: 320.2 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.3425, allocations: 1.612 MB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.3431, allocations: 233 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3435, allocations: 125.8 kB / 0.5712 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3435, allocations: 11.94 kB / 0.5712 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3436, allocations: 34.56 kB / 0.5713 GB, free: 9.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/0.3436, allocations: 0 / 0.5713 GB, free: 9.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00314/0.3467, allocations: 1.13 MB / 0.5724 GB, free: 8.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.3468, allocations: 85.11 kB / 0.5724 GB, free: 8.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.3471, allocations: 257.9 kB / 0.5727 GB, free: 7.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3471, allocations: 33.7 kB / 0.5727 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3474, allocations: 268.1 kB / 0.573 GB, free: 7.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3475, allocations: 127 kB / 0.5731 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3476, allocations: 74.09 kB / 0.5732 GB, free: 7.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3477, allocations: 350.7 kB / 0.5735 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.348, allocations: 108.8 kB / 0.5736 GB, free: 6.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.3484, allocations: 212.3 kB / 0.5738 GB, free: 6.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.3491, allocations: 337.7 kB / 0.5741 GB, free: 6.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3491, allocations: 4 kB / 0.5741 GB, free: 6.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009127/0.35, allocations: 417.8 kB / 0.5745 GB, free: 5.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.35, allocations: 8 kB / 0.5745 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.35, allocations: 4 kB / 0.5746 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.3502, allocations: 41.16 kB / 0.5746 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.3507, allocations: 123.8 kB / 0.5747 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.352, allocations: 1.331 MB / 0.576 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.3522, allocations: 19.98 kB / 0.576 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3523, allocations: 16 kB / 0.576 GB, free: 4.121 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.000226/0.3525, allocations: 177.6 kB / 0.5762 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.3526, allocations: 31.81 kB / 0.5762 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.3526, allocations: 38.12 kB / 0.5763 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3526, allocations: 7.984 kB / 0.5763 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3527, allocations: 3.938 kB / 0.5763 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3527, allocations: 0 / 0.5763 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.3539, allocations: 0.686 MB / 0.577 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3539, allocations: 0 / 0.577 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.3543, allocations: 91.88 kB / 0.577 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.245e-05/0.3544, allocations: 32.78 kB / 0.5771 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3544, allocations: 4 kB / 0.5771 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.3556, allocations: 1.327 MB / 0.5784 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3556, allocations: 0 / 0.5784 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3567, allocations: 0.6134 MB / 0.579 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3568, allocations: 47.78 kB / 0.579 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3569, allocations: 11.94 kB / 0.579 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3572, allocations: 19.92 kB / 0.5791 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.3572, allocations: 23.95 kB / 0.5791 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3573, allocations: 8 kB / 0.5791 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.3575, allocations: 193.2 kB / 0.5793 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 0 / 0.5793 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.358, allocations: 95.94 kB / 0.5794 GB, free: 0.5156 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.001474/0.3594, allocations: 1.149 MB / 0.5805 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009564/0.3604, allocations: 397.4 kB / 0.5809 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3604, allocations: 0 / 0.5809 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.3608, allocations: 242.5 kB / 0.5811 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3613, allocations: 41.23 kB / 0.5811 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.3666, allocations: 3.488 MB / 0.5845 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.3672, allocations: 0.8113 MB / 0.5853 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.3673, allocations: 42.94 kB / 0.5854 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.3675, allocations: 135.4 kB / 0.5855 GB, free: 9.961 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3675, allocations: 0 / 0.5855 GB, free: 9.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.4091, allocations: 6.879 MB / 0.5922 GB, free: 3.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.51, allocations: 3.875 kB / 0.5922 GB, free: 3.246 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.55645452812314]