Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.001662/0.001662, allocations: 110 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.001725/0.001725, allocations: 212.2 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.573/1.573, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.3388/0.3388, allocations: 46.93 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 179] 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.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 75.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4667, allocations: 66.08 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01916/0.4859, allocations: 15.04 MB / 0.5754 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.4978, allocations: 4.468 MB / 0.5798 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.5015, allocations: 87.69 kB / 0.5799 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.5074, allocations: 2.269 MB / 0.5821 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.515, allocations: 2.047 MB / 0.5841 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.5176, allocations: 0.6122 MB / 0.5847 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008143/0.5257, allocations: 4.303 MB / 0.5889 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004866/0.5306, allocations: 2.684 MB / 0.5915 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.5342, allocations: 1.623 MB / 0.5931 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.539, allocations: 2.426 MB / 0.5955 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.5406, allocations: 340 kB / 0.5958 GB, free: 216 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.5441, allocations: 1.069 MB / 0.5968 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.5475, allocations: 2.01 MB / 0.5988 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005404/0.5529, allocations: 2.38 MB / 0.6011 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.5672, allocations: 7.776 MB / 0.6087 GB, free: 2.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.5672, allocations: 0 / 0.6087 GB, free: 2.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.5673, allocations: 0 / 0.6087 GB, free: 2.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004071/0.5677, allocations: 0 / 0.6087 GB, free: 2.922 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01859/0.5863, allocations: 5.145 MB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.5863, allocations: 12.03 kB / 0.6138 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00321/0.5895, allocations: 0.8565 MB / 0.6146 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.6014, allocations: 3.226 MB / 0.6177 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007145/0.6086, allocations: 2.54 MB / 0.6202 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.6088, allocations: 254.4 kB / 0.6205 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.6105, allocations: 327.8 kB / 0.6208 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/0.6369, allocations: 12.23 MB / 0.6327 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.6371, allocations: 35.69 kB / 0.6328 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001335/0.6384, allocations: 155.8 kB / 0.6329 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005453/0.6439, allocations: 2.851 MB / 0.6357 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.6688, allocations: 11.13 MB / 0.6466 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0736/0.7424, allocations: 40.42 MB / 0.686 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009809/0.7522, allocations: 3.594 MB / 0.6895 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/0.7562, allocations: 2.252 MB / 0.6917 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.7573, allocations: 457.1 kB / 0.6922 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/0.7574, allocations: 56.56 kB / 0.6922 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.37e-06/0.7574, allocations: 0 / 0.6922 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.05339/0.8107, allocations: 18.46 MB / 0.7103 GB, free: 9.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.8109, allocations: 73.41 kB / 0.7103 GB, free: 9.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00674/0.8176, allocations: 3.181 MB / 0.7134 GB, free: 5.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006909/0.8183, allocations: 61.64 kB / 0.7135 GB, free: 5.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003321/0.8216, allocations: 3.245 MB / 0.7167 GB, free: 2.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/0.8234, allocations: 1.015 MB / 0.7177 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/0.8258, allocations: 1.188 MB / 0.7188 GB, free: 284 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.826, allocations: 305.1 kB / 0.7191 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/0.8302, allocations: 2.459 MB / 0.7215 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008129/0.8383, allocations: 5.715 MB / 0.7271 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4271/1.265, allocations: 8.971 MB / 0.7358 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000187/1.266, allocations: 32.56 kB / 0.7359 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.0185/1.284, allocations: 8.998 MB / 0.7447 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/1.284, allocations: 54.78 kB / 0.7447 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/1.284, allocations: 113.9 kB / 0.7448 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/1.287, allocations: 1.045 MB / 0.7458 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/1.292, allocations: 1.346 MB / 0.7472 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/1.299, allocations: 5.44 MB / 0.7525 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.303, allocations: 317.7 kB / 0.7528 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.304, allocations: 338.3 kB / 0.7531 GB, free: 140.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004833/1.309, allocations: 2.413 MB / 0.7555 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/1.31, allocations: 335.8 kB / 0.7558 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008635/1.318, allocations: 5.35 MB / 0.761 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.431e-05/1.319, allocations: 51.98 kB / 0.761 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.319, allocations: 2.531 kB / 0.761 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/1.319, allocations: 7.969 kB / 0.7611 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.341, allocations: 12.98 MB / 0.7737 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/1.341, allocations: 13 kB / 0.7738 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.343, allocations: 423.3 kB / 0.7742 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/1.345, allocations: 0.8934 MB / 0.775 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004741/1.346, allocations: 51.98 kB / 0.7751 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/1.351, allocations: 4.738 MB / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.351, allocations: 15.94 kB / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.363, allocations: 8.024 MB / 0.7876 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.364, allocations: 308.1 kB / 0.7878 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.365, allocations: 50.41 kB / 0.7879 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.367, allocations: 155.8 kB / 0.788 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/1.368, allocations: 177 kB / 0.7882 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/1.368, allocations: 79.98 kB / 0.7883 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003624/1.372, allocations: 1.957 MB / 0.7902 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.372, allocations: 0 / 0.7902 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006545/1.378, allocations: 1.063 MB / 0.7912 GB, free: 104.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/1.391, allocations: 8.692 MB / 0.7997 GB, free: 95.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009753/1.401, allocations: 5.769 MB / 0.8054 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/1.401, allocations: 4 kB / 0.8054 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/1.404, allocations: 2.101 MB / 0.8074 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.408, allocations: 466.1 kB / 0.8079 GB, free: 86.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07706/1.485, allocations: 47.16 MB / 0.8539 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006532/1.491, allocations: 3.708 MB / 0.8575 GB, free: 30.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005159/1.496, allocations: 2.153 MB / 0.8596 GB, free: 28.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004105/1.501, allocations: 2.104 MB / 0.8617 GB, free: 26.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/1.501, allocations: 0 / 0.8617 GB, free: 26.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/1.653, allocations: 72.09 MB / 0.9321 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.85/30.5, allocations: 2.531 kB / 0.9321 GB, free: 2.648 MB / 0.6075 GB " [Timeout remaining time 629] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable planar.w in file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv. Warning: Get data of variable planar.w from file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 34.186545731994556]