Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001236/0.001236, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001349/0.001349, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.754 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.2442/0.2442, allocations: 46.94 MB / 360.9 MB, free: 4.02 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.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.91 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0171/0.3835, allocations: 13.01 MB / 0.5733 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3945, allocations: 4.23 MB / 0.5774 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.3974, allocations: 95.62 kB / 0.5775 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.4029, allocations: 2.18 MB / 0.5797 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.4086, allocations: 2.05 MB / 0.5817 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.4105, allocations: 0.6199 MB / 0.5823 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006746/0.4173, allocations: 4.303 MB / 0.5865 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004772/0.422, allocations: 2.661 MB / 0.5891 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.4253, allocations: 1.62 MB / 0.5906 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/0.4296, allocations: 2.309 MB / 0.5929 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.4308, allocations: 340 kB / 0.5932 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.4335, allocations: 0.944 MB / 0.5941 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.4365, allocations: 2.006 MB / 0.5961 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003705/0.4402, allocations: 1.719 MB / 0.5978 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.451, allocations: 7.812 MB / 0.6054 GB, free: 6.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.451, allocations: 4 kB / 0.6054 GB, free: 6.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.451, allocations: 0 / 0.6054 GB, free: 6.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000282/0.4513, allocations: 0 / 0.6054 GB, free: 6.098 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.0138/0.4651, allocations: 5.145 MB / 0.6104 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.4652, allocations: 8.031 kB / 0.6104 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002236/0.4674, allocations: 0.8526 MB / 0.6113 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4794, allocations: 3.229 MB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/0.4865, allocations: 2.56 MB / 0.6169 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.4868, allocations: 247.8 kB / 0.6172 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.4882, allocations: 335.7 kB / 0.6175 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.5135, allocations: 12.23 MB / 0.6294 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.5136, allocations: 31.77 kB / 0.6295 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005205/0.5142, allocations: 155.8 kB / 0.6296 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005065/0.5192, allocations: 2.848 MB / 0.6324 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02296/0.5422, allocations: 11.1 MB / 0.6432 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06591/0.6081, allocations: 38.44 MB / 0.6808 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009516/0.6176, allocations: 3.589 MB / 0.6843 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003691/0.6213, allocations: 2.253 MB / 0.6865 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.6223, allocations: 464 kB / 0.6869 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.6224, allocations: 52.56 kB / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.452e-06/0.6224, allocations: 0 / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04711/0.6695, allocations: 18.51 MB / 0.705 GB, free: 14.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.6696, allocations: 77.41 kB / 0.7051 GB, free: 14.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/0.6746, allocations: 3.358 MB / 0.7084 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/0.6751, allocations: 65.7 kB / 0.7085 GB, free: 10.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003338/0.6784, allocations: 3.245 MB / 0.7116 GB, free: 7.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/0.6802, allocations: 1.015 MB / 0.7126 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.6823, allocations: 1.191 MB / 0.7138 GB, free: 5.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6825, allocations: 305.1 kB / 0.7141 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/0.6867, allocations: 2.452 MB / 0.7165 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007448/0.6941, allocations: 5.723 MB / 0.7221 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.7059, allocations: 8.973 MB / 0.7308 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.794e-05/0.706, allocations: 32 kB / 0.7309 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.3434/1.049, allocations: 8.985 MB / 0.7396 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/1.049, allocations: 56.88 kB / 0.7397 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/1.05, allocations: 113.1 kB / 0.7398 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/1.052, allocations: 1.053 MB / 0.7408 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.056, allocations: 1.34 MB / 0.7421 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/1.062, allocations: 5.396 MB / 0.7474 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/1.065, allocations: 320.7 kB / 0.7477 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/1.066, allocations: 339.8 kB / 0.748 GB, free: 146.3 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.002833/1.068, allocations: 2.407 MB / 0.7504 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/1.069, allocations: 334.5 kB / 0.7507 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007409/1.076, allocations: 5.358 MB / 0.7559 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/1.076, allocations: 45.06 kB / 0.756 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.076, allocations: 0 / 0.756 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.076, allocations: 13.23 kB / 0.756 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.094, allocations: 12.5 MB / 0.7682 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.094, allocations: 12.94 kB / 0.7682 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.095, allocations: 420.1 kB / 0.7686 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/1.098, allocations: 0.8902 MB / 0.7695 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/1.098, allocations: 52 kB / 0.7695 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/1.102, allocations: 4.703 MB / 0.7741 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.102, allocations: 22.97 kB / 0.7741 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008791/1.111, allocations: 8.032 MB / 0.782 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/1.112, allocations: 299.9 kB / 0.7823 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.112, allocations: 56.23 kB / 0.7823 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.114, allocations: 147.8 kB / 0.7825 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.114, allocations: 181.4 kB / 0.7826 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.114, allocations: 75.67 kB / 0.7827 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002298/1.116, allocations: 1.961 MB / 0.7846 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.116, allocations: 0 / 0.7846 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003657/1.12, allocations: 1.065 MB / 0.7857 GB, free: 109.6 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.009059/1.129, allocations: 8.683 MB / 0.7941 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006667/1.136, allocations: 5.778 MB / 0.7998 GB, free: 94.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.136, allocations: 0 / 0.7998 GB, free: 94.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.138, allocations: 2.105 MB / 0.8018 GB, free: 92.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.14, allocations: 454.5 kB / 0.8023 GB, free: 92.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06143/1.201, allocations: 47.15 MB / 0.8483 GB, free: 39.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/1.205, allocations: 3.175 MB / 0.8514 GB, free: 36.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003828/1.209, allocations: 2.15 MB / 0.8535 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.211, allocations: 2.106 MB / 0.8556 GB, free: 32.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.211, allocations: 0 / 0.8556 GB, free: 32.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.333, allocations: 67.09 MB / 0.9211 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.47, allocations: 1.969 kB / 0.9211 GB, free: 14.09 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/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_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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: 21.27306528016925]