Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001337/0.001337, allocations: 109.1 kB / 21.84 MB, free: 88 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.001606/0.001606, allocations: 218 kB / 25.13 MB, free: 3.609 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: 230.4 MB / 258.7 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.93 MB / 362 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 75.88 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.407, allocations: 66.09 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01683/0.4238, allocations: 13.33 MB / 0.5753 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.4357, allocations: 4.828 MB / 0.5801 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.4387, allocations: 107.4 kB / 0.5802 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008526/0.4473, allocations: 3.79 MB / 0.5839 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007451/0.4547, allocations: 2.226 MB / 0.586 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4582, allocations: 1.08 MB / 0.5871 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.4705, allocations: 6.678 MB / 0.5936 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005508/0.476, allocations: 3.55 MB / 0.5971 GB, free: 492 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.4802, allocations: 2.056 MB / 0.5991 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005289/0.4855, allocations: 2.956 MB / 0.602 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.487, allocations: 431.9 kB / 0.6024 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.4905, allocations: 1.358 MB / 0.6037 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00362/0.4941, allocations: 2.524 MB / 0.6062 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004689/0.4988, allocations: 2.769 MB / 0.6089 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.5112, allocations: 8.829 MB / 0.6175 GB, free: 11.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.5112, allocations: 3.984 kB / 0.6175 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5112, allocations: 0 / 0.6175 GB, free: 11.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002737/0.5114, allocations: 0 / 0.6175 GB, free: 11.48 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01746/0.5289, allocations: 6.318 MB / 0.6237 GB, free: 5.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.529, allocations: 8.031 kB / 0.6237 GB, free: 5.094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.5406, allocations: 2.564 MB / 0.6262 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.551, allocations: 3.867 MB / 0.63 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.5514, allocations: 283.7 kB / 0.6302 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.553, allocations: 391.6 kB / 0.6306 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.5783, allocations: 12.05 MB / 0.6424 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.5786, allocations: 63.52 kB / 0.6424 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.5799, allocations: 179.8 kB / 0.6426 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003868/0.5838, allocations: 2.139 MB / 0.6447 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/0.6067, allocations: 10.37 MB / 0.6548 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06945/0.6761, allocations: 47.07 MB / 0.7008 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.6911, allocations: 5.167 MB / 0.7058 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/0.6954, allocations: 2.697 MB / 0.7085 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.7113, allocations: 8.417 MB / 0.7167 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.7113, allocations: 51.81 kB / 0.7167 GB, free: 3.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 5.39e-06/0.7113, allocations: 4 kB / 0.7167 GB, free: 3.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3985/1.11, allocations: 35.12 MB / 0.751 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.11, allocations: 213.2 kB / 0.7512 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/1.115, allocations: 4.767 MB / 0.7559 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.116, allocations: 61.7 kB / 0.756 GB, free: 150 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.117, allocations: 3.679 MB / 0.7596 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009582/1.118, allocations: 1.021 MB / 0.7605 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/1.12, allocations: 1.429 MB / 0.7619 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/1.12, allocations: 305.1 kB / 0.7622 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.123, allocations: 3.18 MB / 0.7653 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/1.129, allocations: 7.093 MB / 0.7723 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.14, allocations: 10.94 MB / 0.783 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.14, allocations: 40 kB / 0.783 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02362/1.163, allocations: 13.72 MB / 0.7964 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/1.163, allocations: 67.98 kB / 0.7964 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.164, allocations: 134.5 kB / 0.7966 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/1.174, allocations: 4.38 MB / 0.8009 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/1.179, allocations: 1.482 MB / 0.8023 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03162/1.211, allocations: 28.72 MB / 0.8303 GB, free: 70.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006266/1.217, allocations: 415.4 kB / 0.8307 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.219, allocations: 411.9 kB / 0.8311 GB, free: 69.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004811/1.224, allocations: 2.467 MB / 0.8335 GB, free: 66.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.225, allocations: 464.9 kB / 0.834 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.239, allocations: 8.42 MB / 0.8422 GB, free: 58.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/1.239, allocations: 31.94 kB / 0.8422 GB, free: 58.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/1.239, allocations: 12 kB / 0.8422 GB, free: 58.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/1.239, allocations: 15.95 kB / 0.8423 GB, free: 58.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.267, allocations: 16.83 MB / 0.8587 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/1.267, allocations: 4 kB / 0.8587 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.268, allocations: 299.5 kB / 0.859 GB, free: 40.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009495/1.278, allocations: 3.957 MB / 0.8629 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005759/1.278, allocations: 48 kB / 0.8629 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03038/1.309, allocations: 27.5 MB / 0.8898 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.309, allocations: 11.98 kB / 0.8898 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/1.329, allocations: 12.4 MB / 0.9019 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.331, allocations: 440.8 kB / 0.9023 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/1.333, allocations: 52 kB / 0.9023 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.335, allocations: 171.8 kB / 0.9025 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008749/1.336, allocations: 201.9 kB / 0.9027 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.336, allocations: 68 kB / 0.9028 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005563/1.342, allocations: 3.009 MB / 0.9057 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.342, allocations: 0 / 0.9057 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007722/1.349, allocations: 1.449 MB / 0.9071 GB, free: 7.012 MB / 0.5762 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007658/1.35, allocations: 194.6 kB / 0.9073 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.366, allocations: 8.149 MB / 0.9153 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.366, allocations: 0 / 0.9153 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006806/1.373, allocations: 3.328 MB / 0.9185 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.377, allocations: 0.5696 MB / 0.9191 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/1.403, allocations: 12.69 MB / 0.9315 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006534/1.409, allocations: 3.911 MB / 0.9353 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005197/1.415, allocations: 2.003 MB / 0.9372 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009549/1.415, allocations: 279.4 kB / 0.9375 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/1.415, allocations: 0 / 0.9375 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.4337/1.849, allocations: 74.92 MB / 1.011 GB, free: 194.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.50409546494484]