Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001464/0.001464, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.001575/0.001575, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 32.38 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.104e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01839/0.01842, allocations: 13.15 MB / 420.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.03324, allocations: 4.632 MB / 425.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.03726, allocations: 111.5 kB / 425.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007932/0.04519, allocations: 3.254 MB / 428.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009595/0.05479, allocations: 2.714 MB / 431.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.05853, allocations: 1.115 MB / 432.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.07189, allocations: 7.345 MB / 439.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008078/0.07997, allocations: 4.12 MB / 443.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009391/0.08936, allocations: 3.406 MB / 447.2 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007788/0.09715, allocations: 3.609 MB / 450.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002238/0.09938, allocations: 500 kB / 451.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004792/0.1042, allocations: 1.482 MB / 452.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005177/0.1094, allocations: 3.097 MB / 455.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006063/0.1154, allocations: 1.889 MB / 457.7 MB, free: 428 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01853/0.134, allocations: 10.63 MB / 468.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.134, allocations: 4 kB / 468.4 MB, free: 5.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.134, allocations: 0 / 468.4 MB, free: 5.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004084/0.1344, allocations: 0 / 468.4 MB, free: 5.746 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.2556/0.39, allocations: 7.465 MB / 475.8 MB, free: 64.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.3901, allocations: 10.52 kB / 475.9 MB, free: 64.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/0.4102, allocations: 4.069 MB / 479.9 MB, free: 64.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.4242, allocations: 4.179 MB / 484.1 MB, free: 62.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/0.4247, allocations: 315.5 kB / 484.4 MB, free: 62.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.4275, allocations: 438.2 kB / 484.8 MB, free: 62.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/0.4609, allocations: 15.83 MB / 0.4889 GB, free: 51.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.4611, allocations: 55.58 kB / 0.489 GB, free: 51.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007347/0.4618, allocations: 205.4 kB / 0.4892 GB, free: 50.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004377/0.4662, allocations: 3.219 MB / 0.4923 GB, free: 47.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.4924, allocations: 14.15 MB / 0.5061 GB, free: 33.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08452/0.5769, allocations: 53.8 MB / 0.5587 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.5927, allocations: 5.56 MB / 0.5641 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005788/0.5985, allocations: 3.406 MB / 0.5674 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02615/0.6247, allocations: 12.39 MB / 0.5795 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.6248, allocations: 68.5 kB / 0.5796 GB, free: 5.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=292): time 7.344e-06/0.6248, allocations: 0 / 0.5796 GB, free: 5.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=342): time 0.1682/0.793, allocations: 43.73 MB / 0.6223 GB, free: 9.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.7932, allocations: 217.9 kB / 0.6225 GB, free: 9.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009135/0.8023, allocations: 5.477 MB / 0.6279 GB, free: 3.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001163/0.8035, allocations: 73.7 kB / 0.6279 GB, free: 3.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003984/0.8074, allocations: 4.515 MB / 0.6324 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/0.8098, allocations: 1.298 MB / 0.6336 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003695/0.8135, allocations: 1.838 MB / 0.6354 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8137, allocations: 301.1 kB / 0.6357 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009161/0.8228, allocations: 4.824 MB / 0.6404 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01486/0.8377, allocations: 9.866 MB / 0.65 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3278/1.165, allocations: 15.61 MB / 0.6653 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/1.166, allocations: 52.84 kB / 0.6653 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.05206/1.218, allocations: 19.53 MB / 0.6844 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.218, allocations: 80.72 kB / 0.6845 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/1.218, allocations: 174.2 kB / 0.6847 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02367/1.242, allocations: 5.936 MB / 0.6905 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/1.25, allocations: 2.124 MB / 0.6925 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/1.279, allocations: 25.73 MB / 0.7177 GB, free: 133.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009471/1.288, allocations: 0.6315 MB / 0.7183 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/1.29, allocations: 0.5096 MB / 0.7188 GB, free: 132.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005556/1.295, allocations: 3.11 MB / 0.7218 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.297, allocations: 483.7 kB / 0.7223 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03004/1.327, allocations: 12.94 MB / 0.7349 GB, free: 115.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.911e-05/1.327, allocations: 54.97 kB / 0.735 GB, free: 115.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.327, allocations: 11.98 kB / 0.735 GB, free: 115.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/1.327, allocations: 19.95 kB / 0.735 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04692/1.374, allocations: 22.44 MB / 0.7569 GB, free: 93.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.374, allocations: 4 kB / 0.7569 GB, free: 93.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.377, allocations: 0.585 MB / 0.7575 GB, free: 92.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01963/1.397, allocations: 4.964 MB / 0.7623 GB, free: 87.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009331/1.398, allocations: 62.39 kB / 0.7624 GB, free: 87.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/1.42, allocations: 20.94 MB / 0.7828 GB, free: 66.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.42, allocations: 12.06 kB / 0.7828 GB, free: 66.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03516/1.456, allocations: 17.53 MB / 0.8 GB, free: 48.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003907/1.459, allocations: 1.199 MB / 0.8011 GB, free: 47.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.461, allocations: 54.81 kB / 0.8012 GB, free: 47.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004288/1.466, allocations: 324.9 kB / 0.8015 GB, free: 47.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/1.467, allocations: 201.5 kB / 0.8017 GB, free: 47.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/1.467, allocations: 90.17 kB / 0.8018 GB, free: 47.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004606/1.471, allocations: 3.197 MB / 0.8049 GB, free: 43.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.471, allocations: 7.344 kB / 0.8049 GB, free: 43.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00902/1.481, allocations: 1.908 MB / 0.8068 GB, free: 42.04 MB / 0.5137 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008742/1.481, allocations: 220.8 kB / 0.807 GB, free: 41.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.496, allocations: 10.55 MB / 0.8173 GB, free: 31.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.496, allocations: 4 kB / 0.8173 GB, free: 31.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005326/1.501, allocations: 3.813 MB / 0.821 GB, free: 27.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.506, allocations: 0.5241 MB / 0.8215 GB, free: 26.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.531, allocations: 16.31 MB / 0.8374 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005258/1.536, allocations: 4.132 MB / 0.8415 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006541/1.543, allocations: 2.932 MB / 0.8443 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.544, allocations: 344.4 kB / 0.8447 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/1.544, allocations: 0 / 0.8447 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.387/1.931, allocations: 74.67 MB / 0.9176 GB, free: 138.1 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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: 9.332550838589668]