Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001464/0.001464, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.95 MB / 360.9 MB, free: 4.078 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+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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.89 kB / 0.4966 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 66.04 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01387/0.349, allocations: 10.51 MB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.3601, allocations: 4.112 MB / 0.5754 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.3623, allocations: 87.56 kB / 0.5754 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.368, allocations: 2.671 MB / 0.578 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.3736, allocations: 2.05 MB / 0.58 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.3758, allocations: 0.9085 MB / 0.5809 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008519/0.3843, allocations: 5.693 MB / 0.5865 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.3883, allocations: 2.817 MB / 0.5892 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.3915, allocations: 1.752 MB / 0.591 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.3958, allocations: 2.718 MB / 0.5936 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.3968, allocations: 384 kB / 0.594 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.3995, allocations: 1.311 MB / 0.5953 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.4021, allocations: 2.236 MB / 0.5974 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.405, allocations: 1.821 MB / 0.5992 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4152, allocations: 7.915 MB / 0.6069 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4152, allocations: 0 / 0.6069 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4152, allocations: 0 / 0.6069 GB, free: 5.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.4154, allocations: 0 / 0.6069 GB, free: 5.027 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.0146/0.43, allocations: 5.551 MB / 0.6124 GB, free: 15.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4301, allocations: 12.03 kB / 0.6124 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.4422, allocations: 2.502 MB / 0.6148 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009621/0.4518, allocations: 3.309 MB / 0.6181 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.4521, allocations: 242.5 kB / 0.6183 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.4535, allocations: 339.7 kB / 0.6186 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/0.4817, allocations: 10.92 MB / 0.6293 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.4819, allocations: 55.59 kB / 0.6293 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007011/0.4826, allocations: 147.9 kB / 0.6295 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00505/0.4877, allocations: 2.006 MB / 0.6314 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03117/0.5188, allocations: 9.42 MB / 0.6406 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06049/0.5793, allocations: 37.98 MB / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.5905, allocations: 3.614 MB / 0.6812 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.5934, allocations: 1.779 MB / 0.683 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.6061, allocations: 5.771 MB / 0.6886 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.6061, allocations: 55.5 kB / 0.6887 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 6.262e-06/0.6061, allocations: 0 / 0.6887 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1754/0.7815, allocations: 40.98 MB / 0.7287 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.7817, allocations: 205.9 kB / 0.7289 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008726/0.7904, allocations: 4.038 MB / 0.7328 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007671/0.7912, allocations: 61.7 kB / 0.7329 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3293/1.12, allocations: 3.309 MB / 0.7361 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.122, allocations: 0.9226 MB / 0.737 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003149/1.125, allocations: 1.363 MB / 0.7384 GB, free: 156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/1.125, allocations: 303.6 kB / 0.7386 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006012/1.131, allocations: 3.629 MB / 0.7422 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006422/1.138, allocations: 7.344 MB / 0.7494 GB, free: 148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.149, allocations: 11.63 MB / 0.7607 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/1.149, allocations: 36 kB / 0.7607 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03695/1.186, allocations: 16.14 MB / 0.7765 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/1.186, allocations: 60.56 kB / 0.7766 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/1.186, allocations: 128 kB / 0.7767 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02235/1.209, allocations: 6.224 MB / 0.7828 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005489/1.214, allocations: 1.489 MB / 0.7842 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03179/1.246, allocations: 27.12 MB / 0.8107 GB, free: 89.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/1.253, allocations: 419.7 kB / 0.8111 GB, free: 88.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.254, allocations: 387.8 kB / 0.8115 GB, free: 88.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004959/1.259, allocations: 2.216 MB / 0.8136 GB, free: 86.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.26, allocations: 373.5 kB / 0.814 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02749/1.288, allocations: 11.22 MB / 0.825 GB, free: 74.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.184e-05/1.288, allocations: 28 kB / 0.825 GB, free: 74.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-05/1.288, allocations: 9.078 kB / 0.825 GB, free: 74.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.857e-05/1.288, allocations: 11.97 kB / 0.825 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/1.333, allocations: 18.86 MB / 0.8434 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/1.333, allocations: 8 kB / 0.8434 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.335, allocations: 383.5 kB / 0.8438 GB, free: 55.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/1.354, allocations: 5.304 MB / 0.849 GB, free: 49.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.355, allocations: 47.98 kB / 0.849 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02611/1.381, allocations: 22.21 MB / 0.8707 GB, free: 27.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.381, allocations: 8 kB / 0.8707 GB, free: 27.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02891/1.41, allocations: 14.55 MB / 0.8849 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.411, allocations: 351.9 kB / 0.8853 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.413, allocations: 36 kB / 0.8853 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.416, allocations: 187.7 kB / 0.8855 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009159/1.417, allocations: 168.9 kB / 0.8856 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.417, allocations: 60 kB / 0.8857 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00358/1.42, allocations: 2.361 MB / 0.888 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.42, allocations: 0 / 0.888 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006498/1.427, allocations: 1.349 MB / 0.8893 GB, free: 8.199 MB / 0.5606 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006145/1.427, allocations: 183.8 kB / 0.8895 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.439, allocations: 7.998 MB / 0.8973 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/1.439, allocations: 192 / 0.8973 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.445, allocations: 2.999 MB / 0.9002 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/1.45, allocations: 450.7 kB / 0.9007 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.474, allocations: 12.02 MB / 0.9124 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004757/1.478, allocations: 2.971 MB / 0.9153 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005054/1.484, allocations: 1.907 MB / 0.9172 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.485, allocations: 255.4 kB / 0.9174 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of SimCode: time 1.502e-06/1.485, allocations: 0 / 0.9174 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.4364/1.921, allocations: 71.96 MB / 0.9877 GB, free: 217.7 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.466362410690635]