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.00179/0.001789, allocations: 117.1 kB / 19.13 MB, free: 3.918 MB / 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.002101/0.002101, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.67/1.67, allocations: 227.4 MB / 252.3 MB, free: 15.91 MB / 206.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.2275/0.2275, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.002332/0.002332, allocations: 76.62 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1403, allocations: 62.46 MB / 0.5403 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01681/0.1571, allocations: 15.01 MB / 0.555 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.1699, allocations: 4.815 MB / 0.5597 GB, free: 380 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.1734, allocations: 95.75 kB / 0.5598 GB, free: 284 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006762/0.1801, allocations: 3.153 MB / 0.5629 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.1873, allocations: 2.516 MB / 0.5653 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.1899, allocations: 0.9827 MB / 0.5663 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.2015, allocations: 7.045 MB / 0.5732 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006874/0.2084, allocations: 4.369 MB / 0.5774 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.2132, allocations: 2.215 MB / 0.5796 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.2186, allocations: 3.244 MB / 0.5828 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.2205, allocations: 488 kB / 0.5832 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.2246, allocations: 1.482 MB / 0.5847 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004334/0.229, allocations: 2.832 MB / 0.5874 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006162/0.2352, allocations: 3.223 MB / 0.5906 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.2509, allocations: 10.41 MB / 0.6007 GB, free: 6.141 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.251, allocations: 0 / 0.6007 GB, free: 6.141 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.251, allocations: 0 / 0.6007 GB, free: 6.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000367/0.2514, allocations: 0 / 0.6007 GB, free: 6.141 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.3432/0.5946, allocations: 7.447 MB / 0.608 GB, free: 54.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.5947, allocations: 12.19 kB / 0.608 GB, free: 54.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/0.6137, allocations: 3.964 MB / 0.6119 GB, free: 53.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.6254, allocations: 4.146 MB / 0.616 GB, free: 52.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004048/0.6259, allocations: 322.8 kB / 0.6163 GB, free: 52.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.6285, allocations: 433.5 kB / 0.6167 GB, free: 52.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0354/0.664, allocations: 15.75 MB / 0.6321 GB, free: 44.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/0.6642, allocations: 67 kB / 0.6321 GB, free: 44.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/0.6655, allocations: 202.7 kB / 0.6323 GB, free: 43.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.6705, allocations: 3.219 MB / 0.6355 GB, free: 42.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/0.695, allocations: 14.16 MB / 0.6493 GB, free: 28.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08105/0.7761, allocations: 57.61 MB / 0.7055 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.7923, allocations: 6.591 MB / 0.712 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006772/0.7991, allocations: 3.743 MB / 0.7156 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03233/0.8315, allocations: 14.8 MB / 0.7301 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.8317, allocations: 72.48 kB / 0.7301 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 7.935e-06/0.8317, allocations: 0 / 0.7301 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1669/0.9986, allocations: 42.8 MB / 0.7719 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.9988, allocations: 217.9 kB / 0.7721 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/1.01, allocations: 5.475 MB / 0.7775 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008641/1.011, allocations: 73.69 kB / 0.7776 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004355/1.015, allocations: 4.518 MB / 0.782 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/1.017, allocations: 1.322 MB / 0.7833 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003745/1.021, allocations: 1.869 MB / 0.7851 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.021, allocations: 305.1 kB / 0.7854 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008354/1.03, allocations: 4.839 MB / 0.7901 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/1.044, allocations: 9.824 MB / 0.7997 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02394/1.068, allocations: 15.63 MB / 0.815 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002046/1.068, allocations: 48 kB / 0.815 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05279/1.121, allocations: 19.64 MB / 0.8342 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002499/1.121, allocations: 80 kB / 0.8343 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003696/1.122, allocations: 175.6 kB / 0.8344 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02562/1.147, allocations: 5.942 MB / 0.8402 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3394/1.487, allocations: 2.117 MB / 0.8423 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03706/1.524, allocations: 26.16 MB / 0.8679 GB, free: 192.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/1.532, allocations: 0.562 MB / 0.8684 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.533, allocations: 0.5132 MB / 0.8689 GB, free: 192.1 MB / 0.6231 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 (1099): * Single equations (assignments): 1091 * 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.005194/1.538, allocations: 3.097 MB / 0.8719 GB, free: 191 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.539, allocations: 0.5132 MB / 0.8724 GB, free: 191 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03071/1.57, allocations: 13.01 MB / 0.8851 GB, free: 186.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.75e-05/1.57, allocations: 58.89 kB / 0.8852 GB, free: 186.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.57, allocations: 11.28 kB / 0.8852 GB, free: 186.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.087e-05/1.57, allocations: 11.44 kB / 0.8852 GB, free: 186.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04685/1.617, allocations: 24.63 MB / 0.9093 GB, free: 166.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-05/1.617, allocations: 7.938 kB / 0.9093 GB, free: 166.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.62, allocations: 0.5888 MB / 0.9099 GB, free: 166.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01857/1.639, allocations: 4.964 MB / 0.9147 GB, free: 161.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008293/1.64, allocations: 59.81 kB / 0.9148 GB, free: 161.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/1.662, allocations: 21.36 MB / 0.9356 GB, free: 139.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.662, allocations: 7.938 kB / 0.9356 GB, free: 139.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03194/1.694, allocations: 17.61 MB / 0.9528 GB, free: 122.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.695, allocations: 0.5612 MB / 0.9534 GB, free: 121.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.696, allocations: 55.98 kB / 0.9534 GB, free: 121.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.7, allocations: 263 kB / 0.9537 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007768/1.7, allocations: 199.5 kB / 0.9539 GB, free: 121.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.701, allocations: 87.98 kB / 0.9539 GB, free: 121.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004957/1.706, allocations: 3.394 MB / 0.9573 GB, free: 117.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/1.706, allocations: 0 / 0.9573 GB, free: 117.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008657/1.714, allocations: 1.739 MB / 0.959 GB, free: 116.1 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.0008645/1.715, allocations: 198 kB / 0.9591 GB, free: 115.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01447/1.73, allocations: 11.05 MB / 0.9699 GB, free: 104.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.73, allocations: 192 / 0.9699 GB, free: 104.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/1.735, allocations: 4.136 MB / 0.974 GB, free: 100.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.739, allocations: 0.6189 MB / 0.9746 GB, free: 100.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.763, allocations: 16.9 MB / 0.9911 GB, free: 83.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005265/1.768, allocations: 4.597 MB / 0.9956 GB, free: 78.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/1.77, allocations: 415.4 kB / 0.996 GB, free: 78.14 MB / 0.6231 GB Notification: Performance of SimCode: time 1.473e-06/1.77, allocations: 0 / 0.996 GB, free: 78.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.4322/2.203, allocations: 150.6 MB / 1.143 GB, free: 176.6 MB / 0.6387 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.692030039033853]