Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.00175/0.00175, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002083/0.002083, allocations: 212.9 kB / 23.72 MB, free: 4.531 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2323/0.2323, allocations: 46.97 MB / 360.9 MB, free: 4.047 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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 68.12 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01494/0.373, allocations: 11.65 MB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3845, allocations: 4.599 MB / 0.5765 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.3869, allocations: 111.4 kB / 0.5766 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007865/0.3948, allocations: 3.629 MB / 0.5801 GB, free: 188 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007862/0.4027, allocations: 2.226 MB / 0.5823 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.4057, allocations: 1.088 MB / 0.5833 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.4169, allocations: 6.667 MB / 0.5899 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005706/0.4226, allocations: 3.544 MB / 0.5933 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.4264, allocations: 2.06 MB / 0.5953 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0054/0.4318, allocations: 2.96 MB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.4331, allocations: 428 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.4359, allocations: 1.358 MB / 0.6 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00351/0.4394, allocations: 2.536 MB / 0.6024 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0039/0.4433, allocations: 2.128 MB / 0.6045 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.4563, allocations: 8.985 MB / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4563, allocations: 0 / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4563, allocations: 0 / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003188/0.4566, allocations: 0 / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02257/0.4792, allocations: 6.521 MB / 0.6196 GB, free: 7.461 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.4793, allocations: 12.03 kB / 0.6197 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002852/0.4821, allocations: 0.9082 MB / 0.6205 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03666/0.5188, allocations: 6.051 MB / 0.6265 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.5304, allocations: 4.594 MB / 0.6309 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.5308, allocations: 291.5 kB / 0.6312 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.5324, allocations: 383.8 kB / 0.6316 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.5567, allocations: 11.96 MB / 0.6433 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.557, allocations: 59.53 kB / 0.6433 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006569/0.5576, allocations: 175.9 kB / 0.6435 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003543/0.5612, allocations: 2.143 MB / 0.6456 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.5836, allocations: 10.12 MB / 0.6555 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07006/0.6537, allocations: 44.55 MB / 0.699 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.6684, allocations: 5.099 MB / 0.704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003991/0.6724, allocations: 2.649 MB / 0.7065 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.688, allocations: 7.705 MB / 0.7141 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.688, allocations: 59.81 kB / 0.7141 GB, free: 4.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 4.599e-06/0.688, allocations: 0 / 0.7141 GB, free: 4.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3828/1.071, allocations: 34.91 MB / 0.7482 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.071, allocations: 209.2 kB / 0.7484 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006258/1.077, allocations: 5.022 MB / 0.7533 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005613/1.078, allocations: 69.17 kB / 0.7534 GB, free: 150 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001898/1.08, allocations: 3.728 MB / 0.757 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.081, allocations: 1.016 MB / 0.758 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/1.082, allocations: 1.353 MB / 0.7593 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/1.082, allocations: 305.1 kB / 0.7596 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.086, allocations: 3.023 MB / 0.7626 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/1.091, allocations: 6.886 MB / 0.7693 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.101, allocations: 10.68 MB / 0.7797 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.101, allocations: 39.94 kB / 0.7798 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02519/1.126, allocations: 13.17 MB / 0.7926 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/1.126, allocations: 64 kB / 0.7927 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/1.126, allocations: 132.8 kB / 0.7928 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/1.138, allocations: 4.219 MB / 0.7969 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.142, allocations: 1.411 MB / 0.7983 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03282/1.175, allocations: 27.93 MB / 0.8256 GB, free: 73.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/1.181, allocations: 399.5 kB / 0.826 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.183, allocations: 397.8 kB / 0.8264 GB, free: 72.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.005276/1.188, allocations: 2.465 MB / 0.8288 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.19, allocations: 460.9 kB / 0.8292 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.205, allocations: 8.182 MB / 0.8372 GB, free: 61.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/1.205, allocations: 28 kB / 0.8372 GB, free: 61.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/1.205, allocations: 12 kB / 0.8372 GB, free: 61.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/1.205, allocations: 15.95 kB / 0.8373 GB, free: 61.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02855/1.233, allocations: 15.91 MB / 0.8528 GB, free: 45.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.233, allocations: 4 kB / 0.8528 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.235, allocations: 304.2 kB / 0.8531 GB, free: 45.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009694/1.244, allocations: 3.801 MB / 0.8568 GB, free: 41.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000634/1.245, allocations: 50.64 kB / 0.8568 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03093/1.276, allocations: 26.74 MB / 0.883 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.276, allocations: 4 kB / 0.883 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/1.295, allocations: 12.09 MB / 0.8948 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.297, allocations: 448.6 kB / 0.8952 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.298, allocations: 51.84 kB / 0.8952 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.301, allocations: 171.8 kB / 0.8954 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000855/1.302, allocations: 205.9 kB / 0.8956 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/1.302, allocations: 68 kB / 0.8957 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006417/1.309, allocations: 3.035 MB / 0.8986 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.309, allocations: 0 / 0.8986 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00876/1.317, allocations: 1.402 MB / 0.9 GB, free: 12.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02621/1.344, allocations: 12.76 MB / 0.9125 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.359, allocations: 7.913 MB / 0.9202 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.359, allocations: 0 / 0.9202 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/1.366, allocations: 3.272 MB / 0.9234 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00535/1.371, allocations: 0.6208 MB / 0.924 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3931/1.764, allocations: 64.21 MB / 0.9867 GB, free: 229.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004217/1.768, allocations: 3.411 MB / 0.99 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004273/1.772, allocations: 2.003 MB / 0.992 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003658/1.776, allocations: 2.362 MB / 0.9943 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.673e-06/1.776, allocations: 3.969 kB / 0.9943 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1939/1.97, allocations: 116.5 MB / 1.108 GB, free: 124.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/21.38, allocations: 0 / 1.108 GB, free: 124.4 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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: 25.37520785900415]