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.0009246/0.0009246, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.005304/0.005304, allocations: 154.5 kB / 24.69 MB, free: 9.441 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 0.9228/0.9228, allocations: 177 MB / 204.9 MB, free: 5.758 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.265/0.265, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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.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 2.816e-06/2.816e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.066e-05/4.347e-05, allocations: 4.812 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2115/0.2116, allocations: 13.05 MB / 456.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.2188, allocations: 4.626 MB / 461.1 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.2212, allocations: 108.6 kB / 461.2 MB, free: 33.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.2248, allocations: 3.23 MB / 464.4 MB, free: 32.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.2297, allocations: 2.692 MB / 467.1 MB, free: 31.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.2313, allocations: 1.095 MB / 468.2 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006316/0.2377, allocations: 7.814 MB / 476 MB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003915/0.2416, allocations: 4.098 MB / 480.1 MB, free: 25.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.2462, allocations: 3.381 MB / 483.5 MB, free: 24.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.2511, allocations: 3.591 MB / 487.1 MB, free: 23.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.2529, allocations: 497.2 kB / 487.6 MB, free: 23.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.2565, allocations: 1.473 MB / 489 MB, free: 23.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004056/0.2606, allocations: 3.044 MB / 492.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004069/0.2647, allocations: 1.856 MB / 494 MB, free: 21.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.2771, allocations: 10.55 MB / 0.4927 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2771, allocations: 0 / 0.4927 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2771, allocations: 1.156 kB / 0.4927 GB, free: 15.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000418/0.2775, allocations: 3.938 kB / 0.4927 GB, free: 15.8 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01903/0.2965, allocations: 7.412 MB / 0.4999 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2966, allocations: 13.58 kB / 0.4999 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009747/0.3063, allocations: 4.064 MB / 0.5039 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008642/0.3149, allocations: 4.063 MB / 0.5079 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.3151, allocations: 320.4 kB / 0.5082 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.3171, allocations: 440.2 kB / 0.5086 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.3417, allocations: 15.82 MB / 0.524 GB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.3418, allocations: 63.47 kB / 0.5241 GB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007369/0.3425, allocations: 207.7 kB / 0.5243 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.3456, allocations: 3.219 MB / 0.5275 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.3675, allocations: 14.13 MB / 0.5413 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05857/0.4261, allocations: 53.78 MB / 0.5938 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/0.4352, allocations: 5.561 MB / 0.5992 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.4391, allocations: 3.395 MB / 0.6025 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.4553, allocations: 12.37 MB / 0.6146 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4554, allocations: 60.5 kB / 0.6146 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 7.234e-06/0.4554, allocations: 0 / 0.6146 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.2882/0.7436, allocations: 43.66 MB / 0.6573 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.7437, allocations: 216.3 kB / 0.6575 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/0.7502, allocations: 5.369 MB / 0.6627 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/0.7513, allocations: 72.33 kB / 0.6628 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/0.7536, allocations: 4.504 MB / 0.6672 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001958/0.7556, allocations: 1.303 MB / 0.6685 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/0.7581, allocations: 1.839 MB / 0.6703 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.7582, allocations: 305.9 kB / 0.6706 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006267/0.7644, allocations: 4.828 MB / 0.6753 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/0.7745, allocations: 9.858 MB / 0.6849 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/0.7892, allocations: 15.61 MB / 0.7001 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002582/0.7895, allocations: 50.47 kB / 0.7002 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.0316/0.8211, allocations: 19.55 MB / 0.7193 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8212, allocations: 80 kB / 0.7194 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/0.8214, allocations: 172 kB / 0.7195 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.8331, allocations: 5.93 MB / 0.7253 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/0.8382, allocations: 2.123 MB / 0.7274 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.8571, allocations: 25.74 MB / 0.7525 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006779/0.8639, allocations: 0.6125 MB / 0.7531 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/0.8655, allocations: 0.5078 MB / 0.7536 GB, free: 68.12 MB / 0.5261 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.005816/0.8714, allocations: 3.103 MB / 0.7566 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/0.8727, allocations: 480.8 kB / 0.7571 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.8899, allocations: 12.94 MB / 0.7697 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.489e-05/0.8899, allocations: 55.98 kB / 0.7698 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.8899, allocations: 8 kB / 0.7698 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/0.89, allocations: 19.88 kB / 0.7698 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03124/0.9212, allocations: 22.41 MB / 0.7917 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-05/0.9213, allocations: 11.98 kB / 0.7917 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.9233, allocations: 0.5811 MB / 0.7923 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/0.9335, allocations: 4.972 MB / 0.7971 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007979/0.9343, allocations: 59.98 kB / 0.7972 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.9501, allocations: 20.93 MB / 0.8176 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.9501, allocations: 11.94 kB / 0.8176 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/0.9749, allocations: 17.52 MB / 0.8348 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.9766, allocations: 472.6 kB / 0.8352 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/0.9783, allocations: 63.81 kB / 0.8353 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.9808, allocations: 307.5 kB / 0.8356 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007094/0.9815, allocations: 205.4 kB / 0.8358 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.9817, allocations: 95.77 kB / 0.8358 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2073/1.189, allocations: 3.12 MB / 0.8389 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/1.189, allocations: 0 / 0.8389 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01176/1.201, allocations: 1.869 MB / 0.8407 GB, free: 168.7 MB / 0.5573 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.001367/1.202, allocations: 216.1 kB / 0.8409 GB, free: 168.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.218, allocations: 10.56 MB / 0.8512 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.218, allocations: 0 / 0.8512 GB, free: 165.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004594/1.222, allocations: 3.814 MB / 0.855 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/1.226, allocations: 0.5133 MB / 0.8555 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.253, allocations: 16.88 MB / 0.8719 GB, free: 157 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00569/1.259, allocations: 4.104 MB / 0.8759 GB, free: 155.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/1.261, allocations: 401.4 kB / 0.8763 GB, free: 155.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.124e-06/1.261, allocations: 0 / 0.8763 GB, free: 155.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.14/1.401, allocations: 151.6 MB / 1.024 GB, free: 22.55 MB / 0.5573 GB " [Timeout remaining time 659] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/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: 11.062986082397401]