Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001043/0.001043, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001104/0.001104, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 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.046/1.046, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.3006/0.3006, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.698e-05, allocations: 3.016 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01278/0.0128, allocations: 12.63 MB / 391.8 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008536/0.02134, allocations: 4.703 MB / 396.6 MB, free: 456 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.02367, allocations: 111.4 kB / 396.7 MB, free: 344 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.02815, allocations: 3.944 MB / 400.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.03333, allocations: 2.305 MB / 402.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.03543, allocations: 1.197 MB / 404.1 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007849/0.04328, allocations: 7.708 MB / 411.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005145/0.04842, allocations: 4.439 MB / 416.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006716/0.05514, allocations: 4.238 MB / 420.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/0.05931, allocations: 3.125 MB / 423.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.06033, allocations: 436 kB / 424 MB, free: 4.828 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.06258, allocations: 1.396 MB / 425.4 MB, free: 3.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002272/0.06485, allocations: 2.661 MB / 428.1 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.06703, allocations: 1.644 MB / 429.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006621/0.07365, allocations: 5.765 MB / 435.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.07365, allocations: 0 / 435.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07365, allocations: 0 / 435.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.07383, allocations: 7.938 kB / 435.5 MB, free: 9.32 MB / 410.7 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.008582/0.08241, allocations: 6.44 MB / 442 MB, free: 2.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.08245, allocations: 12.03 kB / 442 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/0.08803, allocations: 2.101 MB / 444.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1868/0.2748, allocations: 2.912 MB / 447 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.275, allocations: 283.8 kB / 447.3 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007953/0.2758, allocations: 388.9 kB / 447.6 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009028/0.2849, allocations: 6.496 MB / 454.1 MB, free: 89.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.285, allocations: 50.84 kB / 454.2 MB, free: 89.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.2854, allocations: 189 kB / 454.4 MB, free: 89.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001633/0.287, allocations: 1.931 MB / 456.3 MB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006848/0.2939, allocations: 2.913 MB / 459.2 MB, free: 89.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/0.331, allocations: 49.88 MB / 0.4972 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/0.3368, allocations: 2.264 MB / 0.4994 GB, free: 48.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009362/0.3377, allocations: 0.5469 MB / 0.4999 GB, free: 48.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00853/0.3462, allocations: 4.835 MB / 0.5046 GB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.3463, allocations: 49.7 kB / 0.5047 GB, free: 45.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 6.662e-06/0.3463, allocations: 0 / 0.5047 GB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03498/0.3813, allocations: 12.41 MB / 0.5168 GB, free: 40.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3813, allocations: 204.5 kB / 0.517 GB, free: 40.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/0.3853, allocations: 4.273 MB / 0.5212 GB, free: 36.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002693/0.3856, allocations: 49.7 kB / 0.5212 GB, free: 36.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.3873, allocations: 4.082 MB / 0.5252 GB, free: 32.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.3879, allocations: 0.8104 MB / 0.526 GB, free: 32.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.3892, allocations: 1.522 MB / 0.5275 GB, free: 30.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.3893, allocations: 476.8 kB / 0.5279 GB, free: 30.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.3904, allocations: 0.6733 MB / 0.5286 GB, free: 29.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.3931, allocations: 6.989 MB / 0.5354 GB, free: 19.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.3978, allocations: 8.317 MB / 0.5435 GB, free: 8.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-05/0.3978, allocations: 47.94 kB / 0.5436 GB, free: 8.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.007295/0.4051, allocations: 5.93 MB / 0.5494 GB, free: 2.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.4052, allocations: 72 kB / 0.5494 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.4053, allocations: 148 kB / 0.5496 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.4074, allocations: 1.01 MB / 0.5506 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.4099, allocations: 1.536 MB / 0.5521 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.4168, allocations: 9.2 MB / 0.5611 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.4211, allocations: 311.6 kB / 0.5613 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007182/0.4218, allocations: 360 kB / 0.5617 GB, free: 5.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001655/0.4234, allocations: 0.7195 MB / 0.5624 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007097/0.4241, allocations: 465.3 kB / 0.5628 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.4269, allocations: 1.651 MB / 0.5644 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.4269, allocations: 23.94 kB / 0.5645 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4269, allocations: 4 kB / 0.5645 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.427, allocations: 11.97 kB / 0.5645 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4372, allocations: 6.796 MB / 0.5711 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.4372, allocations: 12.16 kB / 0.5711 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.438, allocations: 251.6 kB / 0.5714 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.4399, allocations: 0.7653 MB / 0.5721 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.44, allocations: 47.83 kB / 0.5722 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/0.4456, allocations: 8.386 MB / 0.5804 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4456, allocations: 11.94 kB / 0.5804 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.4497, allocations: 2.925 MB / 0.5832 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.4508, allocations: 413 kB / 0.5836 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.4511, allocations: 39.94 kB / 0.5837 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.4518, allocations: 40 kB / 0.5837 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.4521, allocations: 148.5 kB / 0.5838 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.4521, allocations: 44 kB / 0.5839 GB, free: 13.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002275/0.4544, allocations: 1.759 MB / 0.5856 GB, free: 11.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4544, allocations: 0 / 0.5856 GB, free: 11.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005245/0.4597, allocations: 1.277 MB / 0.5868 GB, free: 10.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003855/0.4601, allocations: 194.8 kB / 0.587 GB, free: 10.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005025/0.4651, allocations: 3.856 MB / 0.5908 GB, free: 6.586 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4651, allocations: 4 kB / 0.5908 GB, free: 6.582 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4666, allocations: 1.432 MB / 0.5922 GB, free: 5.078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/0.4701, allocations: 0.5287 MB / 0.5927 GB, free: 4.555 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.4883, allocations: 9.101 MB / 0.6016 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.49, allocations: 1.504 MB / 0.6031 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001731/0.4917, allocations: 0.5758 MB / 0.6036 GB, free: 9.141 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009102/0.4926, allocations: 0.6816 MB / 0.6043 GB, free: 8.457 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4926, allocations: 0 / 0.6043 GB, free: 8.457 MB / 474.7 MB Notification: Performance of Templates: time 0.2153/0.7079, allocations: 43.2 MB / 0.6465 GB, free: 127.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.698414673097432]