Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 109.1 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 209.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2582/0.2582, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 79.88 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3522, allocations: 66.08 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004533/0.3568, allocations: 2.351 MB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3587, allocations: 0.7751 MB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.359, allocations: 7.938 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3593, allocations: 59.44 kB / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.3597, allocations: 109.2 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.3601, allocations: 107.8 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.3606, allocations: 350.8 kB / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3607, allocations: 68.89 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.361, allocations: 147.5 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.3613, allocations: 155.3 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.3613, allocations: 32 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.3614, allocations: 43.98 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.3615, allocations: 63.77 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3616, allocations: 123.4 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.3621, allocations: 390.3 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3621, allocations: 0 / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3621, allocations: 4 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3621, allocations: 0 / 0.5661 GB, free: 15.24 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001171/0.3632, allocations: 0.5596 MB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3633, allocations: 8.031 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/0.3633, allocations: 8.688 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/0.3634, allocations: 66.72 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3635, allocations: 44.64 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3639, allocations: 205 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3639, allocations: 16.88 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.364, allocations: 24.38 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.3645, allocations: 255.9 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3645, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3646, allocations: 8 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3646, allocations: 15.98 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.3651, allocations: 229.9 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3665, allocations: 0.7768 MB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.3671, allocations: 285.8 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.3673, allocations: 132.8 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.3674, allocations: 4 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3674, allocations: 38.55 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.3674, allocations: 0 / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004812/0.3722, allocations: 0.9644 MB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3723, allocations: 55.41 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3726, allocations: 233.1 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3726, allocations: 29.7 kB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3727, allocations: 161.3 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3728, allocations: 119 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.373, allocations: 49.7 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3731, allocations: 338.8 kB / 0.5705 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.3734, allocations: 91.95 kB / 0.5706 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3736, allocations: 122.8 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.3741, allocations: 235.2 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3741, allocations: 4 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001955/0.3761, allocations: 0.5412 MB / 0.5715 GB, free: 9.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.3761, allocations: 4 kB / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3761, allocations: 0 / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.3779, allocations: 315.1 kB / 0.5718 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3781, allocations: 31.92 kB / 0.5718 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.3886, allocations: 6.387 MB / 0.5781 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.389, allocations: 27.83 kB / 0.5781 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.389, allocations: 8 kB / 0.5781 GB, free: 2.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.3893, allocations: 145.8 kB / 0.5782 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.3894, allocations: 27.81 kB / 0.5783 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.3923, allocations: 0.5463 MB / 0.5788 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3923, allocations: 7.938 kB / 0.5788 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3923, allocations: 0 / 0.5788 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3923, allocations: 4.172 kB / 0.5788 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.3929, allocations: 304.4 kB / 0.5791 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3929, allocations: 4 kB / 0.5791 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3931, allocations: 15.98 kB / 0.5791 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.3955, allocations: 315.1 kB / 0.5794 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.3955, allocations: 8 kB / 0.5794 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.4076, allocations: 6.426 MB / 0.5857 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4076, allocations: 80 / 0.5857 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.411, allocations: 0.6245 MB / 0.5863 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4111, allocations: 27.75 kB / 0.5863 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.4112, allocations: 8 kB / 0.5864 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4115, allocations: 11.98 kB / 0.5864 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.4117, allocations: 35.88 kB / 0.5864 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.4118, allocations: 12.25 kB / 0.5864 GB, free: 9.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.4121, allocations: 169.2 kB / 0.5866 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4121, allocations: 0 / 0.5866 GB, free: 8.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009504/0.413, allocations: 123.9 kB / 0.5867 GB, free: 8.832 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003836/0.4169, allocations: 1.168 MB / 0.5878 GB, free: 7.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.4188, allocations: 0.7328 MB / 0.5885 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4188, allocations: 4.062 kB / 0.5886 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.421, allocations: 0.7176 MB / 0.5893 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.4215, allocations: 28.47 kB / 0.5893 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009701/0.4312, allocations: 3.174 MB / 0.5924 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4315, allocations: 171.8 kB / 0.5925 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.4316, allocations: 9.953 kB / 0.5926 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.4319, allocations: 87.41 kB / 0.5926 GB, free: 2.457 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4319, allocations: 0 / 0.5926 GB, free: 2.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.4775, allocations: 11.49 MB / 0.6039 GB, free: 7.113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.35, allocations: 3.938 kB / 0.6039 GB, free: 7.109 MB / 446.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 17.455476301023737]