Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001657/0.001657, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.002009/0.002009, allocations: 160.3 kB / 24.49 MB, free: 3.453 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.448/1.448, allocations: 177.1 MB / 204.7 MB, free: 8.996 MB / 190.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.2158/0.2158, allocations: 34.25 MB / 295.4 MB, free: 14.51 MB / 286.1 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 87.86 kB / 443.1 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3149, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.0104/0.3253, allocations: 13.06 MB / 0.51 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007939/0.3333, allocations: 4.611 MB / 0.5145 GB, free: 18.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.335, allocations: 108.1 kB / 0.5146 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005347/0.3404, allocations: 3.09 MB / 0.5176 GB, free: 17.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.3464, allocations: 2.613 MB / 0.5202 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.3486, allocations: 0.9791 MB / 0.5211 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.3589, allocations: 7.057 MB / 0.528 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005737/0.3647, allocations: 3.58 MB / 0.5315 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.3697, allocations: 2.255 MB / 0.5337 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00598/0.3757, allocations: 3.371 MB / 0.537 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.3773, allocations: 486.4 kB / 0.5375 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.3809, allocations: 1.387 MB / 0.5388 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.3841, allocations: 2.926 MB / 0.5417 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003605/0.3877, allocations: 2.378 MB / 0.544 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.3995, allocations: 10.47 MB / 0.5542 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3995, allocations: 0 / 0.5542 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3995, allocations: 0 / 0.5542 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002275/0.3998, allocations: 0 / 0.5542 GB, free: 11.09 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01564/0.4154, allocations: 7.377 MB / 0.5614 GB, free: 3.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4154, allocations: 8.031 kB / 0.5614 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.4324, allocations: 4.072 MB / 0.5654 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.4433, allocations: 4.094 MB / 0.5694 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000501/0.4438, allocations: 316.4 kB / 0.5697 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/0.4466, allocations: 431.6 kB / 0.5701 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02726/0.4739, allocations: 15.83 MB / 0.5856 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.4741, allocations: 63.5 kB / 0.5857 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005899/0.4746, allocations: 203.8 kB / 0.5858 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005205/0.4798, allocations: 3.219 MB / 0.589 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/0.506, allocations: 14.14 MB / 0.6028 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07275/0.5788, allocations: 53.59 MB / 0.6551 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/0.5929, allocations: 5.559 MB / 0.6606 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/0.5982, allocations: 3.391 MB / 0.6639 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02316/0.6214, allocations: 12.15 MB / 0.6757 GB, free: 12.01 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.791e-05/0.6214, allocations: 64.5 kB / 0.6758 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=292): time 7.644e-06/0.6215, allocations: 4 kB / 0.6758 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=342): time 0.4138/1.035, allocations: 43.53 MB / 0.7183 GB, free: 139.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/1.035, allocations: 214.9 kB / 0.7185 GB, free: 139.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007144/1.042, allocations: 5.201 MB / 0.7236 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008547/1.043, allocations: 71.77 kB / 0.7237 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.046, allocations: 4.548 MB / 0.7281 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.047, allocations: 1.326 MB / 0.7294 GB, free: 133.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/1.05, allocations: 1.862 MB / 0.7312 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/1.05, allocations: 302.2 kB / 0.7315 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006249/1.056, allocations: 4.826 MB / 0.7362 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/1.064, allocations: 9.866 MB / 0.7459 GB, free: 122.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.078, allocations: 15.6 MB / 0.7611 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/1.078, allocations: 52 kB / 0.7611 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03942/1.117, allocations: 19.54 MB / 0.7802 GB, free: 88.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.117, allocations: 80 kB / 0.7803 GB, free: 88.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/1.117, allocations: 172 kB / 0.7805 GB, free: 88.35 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02247/1.14, allocations: 5.935 MB / 0.7863 GB, free: 82.41 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006931/1.147, allocations: 2.12 MB / 0.7883 GB, free: 80.29 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.028/1.175, allocations: 25.7 MB / 0.8134 GB, free: 54.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007967/1.183, allocations: 0.5579 MB / 0.814 GB, free: 53.81 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.184, allocations: 0.5117 MB / 0.8145 GB, free: 53.3 MB / 0.5763 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.005429/1.19, allocations: 3.096 MB / 0.8175 GB, free: 50.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.191, allocations: 480.8 kB / 0.818 GB, free: 49.72 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02935/1.221, allocations: 12.93 MB / 0.8306 GB, free: 36.72 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.583e-05/1.221, allocations: 63.34 kB / 0.8307 GB, free: 36.66 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.221, allocations: 8 kB / 0.8307 GB, free: 36.66 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/1.221, allocations: 15.94 kB / 0.8307 GB, free: 36.64 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/1.265, allocations: 22.31 MB / 0.8525 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/1.265, allocations: 7.938 kB / 0.8525 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/1.268, allocations: 0.585 MB / 0.853 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01943/1.288, allocations: 4.974 MB / 0.8579 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007535/1.289, allocations: 52 kB / 0.8579 GB, free: 8.289 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/1.318, allocations: 20.88 MB / 0.8783 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/1.318, allocations: 7.938 kB / 0.8783 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04076/1.359, allocations: 17.53 MB / 0.8955 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.36, allocations: 448.6 kB / 0.8959 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.362, allocations: 63.64 kB / 0.8959 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/1.365, allocations: 259.6 kB / 0.8962 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/1.366, allocations: 205.4 kB / 0.8964 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.366, allocations: 87.98 kB / 0.8965 GB, free: 480 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004995/1.371, allocations: 2.993 MB / 0.8994 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.371, allocations: 0 / 0.8994 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007981/1.379, allocations: 1.729 MB / 0.9011 GB, free: 11.75 MB / 0.6231 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.0006408/1.38, allocations: 209.9 kB / 0.9013 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.397, allocations: 10.54 MB / 0.9116 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.397, allocations: 8.188 kB / 0.9116 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006393/1.404, allocations: 3.808 MB / 0.9153 GB, free: 13.17 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.407, allocations: 0.5137 MB / 0.9158 GB, free: 12.66 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2812/1.689, allocations: 16.35 MB / 0.9318 GB, free: 192.3 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007306/1.696, allocations: 4.118 MB / 0.9358 GB, free: 192 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.006541/1.702, allocations: 2.926 MB / 0.9387 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.704, allocations: 326.3 kB / 0.939 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of SimCode: time 1.252e-06/1.704, allocations: 6.688 kB / 0.939 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1179/1.822, allocations: 72.37 MB / 1.01 GB, free: 153.6 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.417453860049136]