Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001405/0.001405, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001457/0.001457, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2426/0.2426, allocations: 46.93 MB / 360.8 MB, free: 4.176 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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 83.86 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.333, allocations: 66.08 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00495/0.338, allocations: 3.04 MB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3397, allocations: 0.7828 MB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.34, allocations: 4 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3403, allocations: 67.31 kB / 0.5645 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.3406, allocations: 103.1 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.341, allocations: 115.8 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.3417, allocations: 470.7 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.3419, allocations: 116.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.3423, allocations: 191.3 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.3425, allocations: 203.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.3426, allocations: 44 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.3427, allocations: 47.98 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.3428, allocations: 91.62 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.343, allocations: 195 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3435, allocations: 477.9 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3435, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3435, allocations: 4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3435, allocations: 0 / 0.5665 GB, free: 14.34 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001509/0.345, allocations: 0.634 MB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3451, allocations: 12.03 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.3452, allocations: 74.72 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.3455, allocations: 56.64 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.3459, allocations: 249.9 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.346, allocations: 33.38 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.346, allocations: 36.38 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.3467, allocations: 338.6 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3467, allocations: 0 / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.3468, allocations: 16 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3468, allocations: 8 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.3474, allocations: 307.8 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.3498, allocations: 1.299 MB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.3504, allocations: 256.8 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.3507, allocations: 141.3 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3507, allocations: 4.281 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3507, allocations: 42.78 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 4.028e-06/0.3507, allocations: 3.984 kB / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008824/0.3516, allocations: 371.6 kB / 0.5703 GB, free: 10.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3517, allocations: 59.34 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.352, allocations: 265.8 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.352, allocations: 33.7 kB / 0.5706 GB, free: 9.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3522, allocations: 208.3 kB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.3523, allocations: 126.9 kB / 0.5709 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3525, allocations: 74.08 kB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3526, allocations: 338.8 kB / 0.5713 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3529, allocations: 100.8 kB / 0.5714 GB, free: 9.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3532, allocations: 179.4 kB / 0.5716 GB, free: 8.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.3537, allocations: 280.7 kB / 0.5718 GB, free: 8.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3537, allocations: 7.938 kB / 0.5719 GB, free: 8.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007039/0.3544, allocations: 374.5 kB / 0.5722 GB, free: 8.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3545, allocations: 7.938 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3545, allocations: 0 / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3545, allocations: 4 kB / 0.5722 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.355, allocations: 107.8 kB / 0.5723 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.355, allocations: 4 kB / 0.5723 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3553, allocations: 43.72 kB / 0.5724 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3553, allocations: 12 kB / 0.5724 GB, free: 8.031 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3555, allocations: 153.7 kB / 0.5725 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.3556, allocations: 31.81 kB / 0.5726 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/0.3564, allocations: 325.2 kB / 0.5729 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3564, allocations: 4 kB / 0.5729 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3564, allocations: 0 / 0.5729 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3564, allocations: 4 kB / 0.5729 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.3569, allocations: 384.1 kB / 0.5732 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3569, allocations: 0 / 0.5732 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.3573, allocations: 83.89 kB / 0.5733 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3573, allocations: 4 kB / 0.5733 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3573, allocations: 7.984 kB / 0.5733 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3574, allocations: 7.984 kB / 0.5733 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3574, allocations: 0 / 0.5733 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3584, allocations: 0.5147 MB / 0.5738 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3586, allocations: 47.75 kB / 0.5739 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.3586, allocations: 8 kB / 0.5739 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3588, allocations: 15.98 kB / 0.5739 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3589, allocations: 23.89 kB / 0.5739 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3589, allocations: 12 kB / 0.5739 GB, free: 6.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3591, allocations: 189.2 kB / 0.5741 GB, free: 6.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 0.5741 GB, free: 6.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000376/0.3595, allocations: 103.7 kB / 0.5742 GB, free: 6.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.3607, allocations: 1.056 MB / 0.5753 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.3613, allocations: 263.7 kB / 0.5755 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3613, allocations: 0 / 0.5755 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.3616, allocations: 123.8 kB / 0.5756 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3619, allocations: 28.5 kB / 0.5757 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3666, allocations: 3.145 MB / 0.5787 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.367, allocations: 0.7874 MB / 0.5795 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.3672, allocations: 42.94 kB / 0.5795 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3674, allocations: 107.4 kB / 0.5796 GB, free: 360 kB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3674, allocations: 0 / 0.5796 GB, free: 360 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.4068, allocations: 6.089 MB / 0.5856 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.22, allocations: 2.969 kB / 0.5856 GB, free: 10.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.145389325916767]