Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.0008563/0.0008563, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.000817/0.000817, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8506/0.8506, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1291/0.1291, allocations: 32.38 MB / 270.4 MB, free: 15.05 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.189e-05, allocations: 10.08 kB / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.008472/0.008494, allocations: 11.76 MB / 419.9 MB, free: 5.914 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.01411, allocations: 4.603 MB / 424.5 MB, free: 1.297 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.01482, allocations: 115.4 kB / 424.6 MB, free: 1.184 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.01794, allocations: 3.835 MB / 428.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.02074, allocations: 2.329 MB / 430.7 MB, free: 11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.02216, allocations: 1.197 MB / 431.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.02677, allocations: 7.148 MB / 439.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.0296, allocations: 4.328 MB / 443.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.03235, allocations: 3.204 MB / 446.6 MB, free: 11.03 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.03468, allocations: 3.176 MB / 449.8 MB, free: 7.844 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.03504, allocations: 444 kB / 450.2 MB, free: 7.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.03646, allocations: 1.416 MB / 451.6 MB, free: 5.992 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.03804, allocations: 2.68 MB / 454.3 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.03911, allocations: 1.675 MB / 456 MB, free: 1.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.04464, allocations: 9.019 MB / 465 MB, free: 8.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.04464, allocations: 0 / 465 MB, free: 8.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04465, allocations: 0 / 465 MB, free: 8.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.04471, allocations: 0 / 465 MB, free: 8.578 MB / 442.7 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.007069/0.05178, allocations: 6.455 MB / 471.5 MB, free: 2.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.05181, allocations: 8.031 kB / 471.5 MB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1766/0.2284, allocations: 2.642 MB / 474.1 MB, free: 95.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.2344, allocations: 3.95 MB / 478.1 MB, free: 94.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.2346, allocations: 285.2 kB / 478.3 MB, free: 94.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/0.2351, allocations: 384.6 kB / 478.7 MB, free: 94.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.2453, allocations: 12.06 MB / 490.8 MB, free: 88.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.267e-05/0.2454, allocations: 64.47 kB / 490.8 MB, free: 88.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.2457, allocations: 180.3 kB / 491 MB, free: 88.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.2472, allocations: 2.15 MB / 493.2 MB, free: 88.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.26, allocations: 10.34 MB / 0.4917 GB, free: 85.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/0.2931, allocations: 44.12 MB / 0.5348 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007034/0.3002, allocations: 5.315 MB / 0.54 GB, free: 44.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.3019, allocations: 2.678 MB / 0.5426 GB, free: 41.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006886/0.3088, allocations: 8.05 MB / 0.5505 GB, free: 33.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3089, allocations: 63.81 kB / 0.5505 GB, free: 33.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=206): time 5.119e-06/0.3089, allocations: 4 kB / 0.5505 GB, free: 33.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.06003/0.3689, allocations: 36.33 MB / 0.586 GB, free: 13.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.369, allocations: 205.9 kB / 0.5862 GB, free: 13.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/0.374, allocations: 4.797 MB / 0.5909 GB, free: 8.277 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.3743, allocations: 73.64 kB / 0.5909 GB, free: 8.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.3762, allocations: 3.671 MB / 0.5945 GB, free: 4.496 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/0.3769, allocations: 1.004 MB / 0.5955 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.3783, allocations: 1.417 MB / 0.5969 GB, free: 2.059 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.3784, allocations: 301.1 kB / 0.5972 GB, free: 1.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/0.3814, allocations: 3.176 MB / 0.6003 GB, free: 14.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/0.3861, allocations: 7.082 MB / 0.6072 GB, free: 5.594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008199/0.3943, allocations: 10.96 MB / 0.6179 GB, free: 8.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-05/0.3943, allocations: 39.94 kB / 0.6179 GB, free: 8.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01543/0.4097, allocations: 13.66 MB / 0.6313 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4098, allocations: 65 kB / 0.6313 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.403e-05/0.4099, allocations: 134.6 kB / 0.6315 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006485/0.4164, allocations: 4.387 MB / 0.6358 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.4187, allocations: 1.478 MB / 0.6372 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2031/0.6217, allocations: 28.32 MB / 0.6649 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/0.6256, allocations: 0.4965 MB / 0.6653 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/0.626, allocations: 406.7 kB / 0.6657 GB, free: 148.9 MB / 0.5105 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.002622/0.6286, allocations: 2.475 MB / 0.6681 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/0.6291, allocations: 418.5 kB / 0.6685 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/0.6377, allocations: 8.386 MB / 0.6767 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.6377, allocations: 29.5 kB / 0.6768 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.6377, allocations: 13.03 kB / 0.6768 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.6377, allocations: 16.12 kB / 0.6768 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.6541, allocations: 15.35 MB / 0.6918 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6541, allocations: 16.91 kB / 0.6918 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.6549, allocations: 301.5 kB / 0.6921 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006347/0.6612, allocations: 3.961 MB / 0.696 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6614, allocations: 45.09 kB / 0.696 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.6815, allocations: 27.12 MB / 0.7225 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6815, allocations: 7.625 kB / 0.7225 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.6931, allocations: 12.35 MB / 0.7345 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.6945, allocations: 0.9287 MB / 0.7355 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.6948, allocations: 48.62 kB / 0.7355 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.696, allocations: 255.6 kB / 0.7357 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.6964, allocations: 203.2 kB / 0.7359 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.6965, allocations: 68 kB / 0.736 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002514/0.699, allocations: 2.887 MB / 0.7388 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.699, allocations: 2 kB / 0.7388 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00402/0.703, allocations: 1.619 MB / 0.7404 GB, free: 108.7 MB / 0.5105 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.0005142/0.7036, allocations: 213.2 kB / 0.7406 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006873/0.7104, allocations: 8.142 MB / 0.7486 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7104, allocations: 4 kB / 0.7486 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.713, allocations: 3.316 MB / 0.7518 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.7147, allocations: 0.523 MB / 0.7523 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.7252, allocations: 13.1 MB / 0.7651 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.7274, allocations: 3.393 MB / 0.7684 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/0.7279, allocations: 316.4 kB / 0.7687 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/0.7279, allocations: 0 / 0.7687 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.2567/0.9846, allocations: 144.3 MB / 0.9097 GB, free: 142.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.834703895263374]