Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001327/0.001327, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.001382/0.001382, allocations: 165.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1896/0.1896, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.17e-05, allocations: 6.219 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2091/0.2092, allocations: 13.04 MB / 453.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008697/0.2179, allocations: 4.63 MB / 457.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.2192, allocations: 108.5 kB / 457.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005623/0.2248, allocations: 3.234 MB / 461.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.2303, allocations: 2.691 MB / 463.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.2324, allocations: 1.09 MB / 464.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009473/0.2419, allocations: 7.819 MB / 472.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.2471, allocations: 4.1 MB / 476.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.2516, allocations: 3.38 MB / 480.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004818/0.2564, allocations: 3.598 MB / 483.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009494/0.2573, allocations: 496 kB / 484.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.2603, allocations: 1.471 MB / 485.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.2633, allocations: 3.042 MB / 488.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.2658, allocations: 1.857 MB / 490.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.2783, allocations: 10.55 MB / 0.4894 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2783, allocations: 0 / 0.4894 GB, free: 12.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2783, allocations: 0 / 0.4894 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000242/0.2786, allocations: 3.938 kB / 0.4894 GB, free: 12.91 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.01672/0.2953, allocations: 7.415 MB / 0.4967 GB, free: 5.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2953, allocations: 15.97 kB / 0.4967 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.3128, allocations: 4.064 MB / 0.5007 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009993/0.3228, allocations: 4.059 MB / 0.5046 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.3231, allocations: 320.3 kB / 0.5049 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.3251, allocations: 436.2 kB / 0.5053 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/0.3535, allocations: 15.83 MB / 0.5208 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.3536, allocations: 63.45 kB / 0.5209 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006275/0.3543, allocations: 203.8 kB / 0.5211 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005289/0.3595, allocations: 3.216 MB / 0.5242 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/0.3872, allocations: 14.15 MB / 0.538 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07576/0.4629, allocations: 53.76 MB / 0.5905 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.4772, allocations: 5.569 MB / 0.5959 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005127/0.4824, allocations: 3.394 MB / 0.5993 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02281/0.5052, allocations: 12.38 MB / 0.6113 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/0.5052, allocations: 56.56 kB / 0.6114 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 8.236e-06/0.5052, allocations: 3.984 kB / 0.6114 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.37/0.8752, allocations: 43.66 MB / 0.654 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.8753, allocations: 213 kB / 0.6542 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007456/0.8827, allocations: 5.367 MB / 0.6595 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000631/0.8834, allocations: 72.36 kB / 0.6596 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.8855, allocations: 4.509 MB / 0.664 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.8867, allocations: 1.302 MB / 0.6652 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/0.8892, allocations: 1.834 MB / 0.667 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.8892, allocations: 302.5 kB / 0.6673 GB, free: 159 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/0.8951, allocations: 4.826 MB / 0.672 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/0.9018, allocations: 9.861 MB / 0.6816 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/0.9145, allocations: 15.61 MB / 0.6969 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.83e-05/0.9146, allocations: 52 kB / 0.6969 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03766/0.9523, allocations: 19.54 MB / 0.716 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.9524, allocations: 80 kB / 0.7161 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.9525, allocations: 175 kB / 0.7163 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/0.9748, allocations: 5.936 MB / 0.7221 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006447/0.9813, allocations: 2.117 MB / 0.7241 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/1.007, allocations: 25.74 MB / 0.7493 GB, free: 83.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007434/1.015, allocations: 0.6199 MB / 0.7499 GB, free: 82.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008298/1.016, allocations: 0.5078 MB / 0.7504 GB, free: 82.34 MB / 0.5294 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.004118/1.02, allocations: 3.096 MB / 0.7534 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009144/1.021, allocations: 488.8 kB / 0.7539 GB, free: 78.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/1.05, allocations: 12.93 MB / 0.7665 GB, free: 65.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.874e-05/1.05, allocations: 55.94 kB / 0.7665 GB, free: 65.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.05, allocations: 8 kB / 0.7666 GB, free: 65.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.881e-05/1.05, allocations: 15.94 kB / 0.7666 GB, free: 65.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04389/1.094, allocations: 22.41 MB / 0.7885 GB, free: 42.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/1.094, allocations: 7.938 kB / 0.7885 GB, free: 42.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003377/1.097, allocations: 0.5811 MB / 0.789 GB, free: 42.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.117, allocations: 4.969 MB / 0.7939 GB, free: 37.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008487/1.118, allocations: 59.98 kB / 0.7939 GB, free: 37.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/1.141, allocations: 20.93 MB / 0.8144 GB, free: 16.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.141, allocations: 11.94 kB / 0.8144 GB, free: 16.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03495/1.176, allocations: 17.52 MB / 0.8315 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.178, allocations: 472.7 kB / 0.8319 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.18, allocations: 67.52 kB / 0.832 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/1.183, allocations: 311.4 kB / 0.8323 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009404/1.184, allocations: 205.5 kB / 0.8325 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000322/1.185, allocations: 88.44 kB / 0.8326 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005049/1.19, allocations: 3.126 MB / 0.8356 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.19, allocations: 0 / 0.8356 GB, free: 10.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008848/1.199, allocations: 1.871 MB / 0.8375 GB, free: 8.305 MB / 0.545 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.0009078/1.199, allocations: 217.7 kB / 0.8377 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2096/1.409, allocations: 10.54 MB / 0.848 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.409, allocations: 5.031 kB / 0.848 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006083/1.415, allocations: 3.813 MB / 0.8517 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.419, allocations: 0.5173 MB / 0.8522 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.445, allocations: 16.28 MB / 0.8681 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004528/1.45, allocations: 4.114 MB / 0.8721 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005468/1.455, allocations: 2.935 MB / 0.875 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.457, allocations: 337.6 kB / 0.8753 GB, free: 166.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.903e-06/1.457, allocations: 4 kB / 0.8753 GB, free: 166.3 MB / 0.545 GB Notification: Performance of Templates: time 0.09511/1.552, allocations: 74.07 MB / 0.9476 GB, free: 97.45 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.892953421920538]