Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001638/0.001638, allocations: 110 kB / 20.43 MB, free: 1.453 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.002202/0.002202, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2256/0.2256, allocations: 46.91 MB / 360.8 MB, free: 4.191 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.86 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 66.08 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0159/0.3597, allocations: 13.46 MB / 0.5739 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3702, allocations: 4.848 MB / 0.5786 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.3728, allocations: 115.4 kB / 0.5787 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.3803, allocations: 3.796 MB / 0.5824 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005941/0.3863, allocations: 2.218 MB / 0.5846 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.3891, allocations: 1.08 MB / 0.5856 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3991, allocations: 6.666 MB / 0.5921 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006078/0.4052, allocations: 3.54 MB / 0.5956 GB, free: 420 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.4094, allocations: 2.064 MB / 0.5976 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.4145, allocations: 2.96 MB / 0.6005 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.416, allocations: 428 kB / 0.6009 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.4196, allocations: 1.486 MB / 0.6024 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0037/0.4233, allocations: 2.548 MB / 0.6049 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005556/0.4289, allocations: 2.824 MB / 0.6076 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.4431, allocations: 8.942 MB / 0.6163 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4432, allocations: 3.938 kB / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4432, allocations: 4 kB / 0.6164 GB, free: 11.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004424/0.4436, allocations: 3.938 kB / 0.6164 GB, free: 11.08 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.02235/0.4659, allocations: 6.517 MB / 0.6227 GB, free: 4.496 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.466, allocations: 8.031 kB / 0.6227 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002752/0.4688, allocations: 0.9042 MB / 0.6236 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03765/0.5064, allocations: 6.055 MB / 0.6295 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.5187, allocations: 4.578 MB / 0.634 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/0.5191, allocations: 287.4 kB / 0.6343 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.5208, allocations: 387.8 kB / 0.6346 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.5467, allocations: 11.92 MB / 0.6463 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/0.547, allocations: 55.59 kB / 0.6463 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001215/0.5482, allocations: 179.8 kB / 0.6465 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003753/0.5519, allocations: 2.14 MB / 0.6486 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.574, allocations: 10.16 MB / 0.6585 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/0.6444, allocations: 47.01 MB / 0.7044 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.6593, allocations: 5.105 MB / 0.7094 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004202/0.6635, allocations: 2.661 MB / 0.712 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/0.6816, allocations: 8.293 MB / 0.7201 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.6817, allocations: 55.81 kB / 0.7202 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=206): time 4.478e-06/0.6817, allocations: 0 / 0.7202 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.4078/1.089, allocations: 34.79 MB / 0.7541 GB, free: 150 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.09, allocations: 208.7 kB / 0.7543 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005026/1.095, allocations: 4.805 MB / 0.759 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004677/1.095, allocations: 61.7 kB / 0.7591 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.097, allocations: 3.73 MB / 0.7627 GB, free: 142 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/1.097, allocations: 1.009 MB / 0.7637 GB, free: 141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/1.099, allocations: 1.361 MB / 0.765 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/1.099, allocations: 301.1 kB / 0.7653 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/1.102, allocations: 3.027 MB / 0.7683 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004236/1.106, allocations: 6.84 MB / 0.775 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0084/1.114, allocations: 10.67 MB / 0.7854 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-05/1.115, allocations: 36 kB / 0.7854 GB, free: 115 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02181/1.136, allocations: 13.18 MB / 0.7983 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/1.136, allocations: 70.28 kB / 0.7984 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.635e-05/1.136, allocations: 136.2 kB / 0.7985 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.147, allocations: 4.222 MB / 0.8026 GB, free: 97.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/1.151, allocations: 1.415 MB / 0.804 GB, free: 95.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/1.182, allocations: 28.27 MB / 0.8316 GB, free: 67.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/1.188, allocations: 391.5 kB / 0.832 GB, free: 67.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.189, allocations: 396 kB / 0.8323 GB, free: 66.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (756): * Single equations (assignments): 750 * 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.004074/1.193, allocations: 2.462 MB / 0.8347 GB, free: 64.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009995/1.194, allocations: 472.8 kB / 0.8352 GB, free: 63.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.209, allocations: 8.175 MB / 0.8432 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/1.209, allocations: 31.94 kB / 0.8432 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/1.209, allocations: 16.88 kB / 0.8432 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/1.209, allocations: 15.8 kB / 0.8432 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.237, allocations: 16.64 MB / 0.8595 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.237, allocations: 4 kB / 0.8595 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.239, allocations: 304.1 kB / 0.8598 GB, free: 38.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009084/1.248, allocations: 3.797 MB / 0.8635 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/1.248, allocations: 48 kB / 0.8635 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03056/1.279, allocations: 27.06 MB / 0.89 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.279, allocations: 7.938 kB / 0.89 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.3, allocations: 12.09 MB / 0.9018 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.302, allocations: 432.7 kB / 0.9022 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.303, allocations: 51.98 kB / 0.9022 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.306, allocations: 163.8 kB / 0.9024 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008934/1.307, allocations: 209.9 kB / 0.9026 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/1.307, allocations: 71.98 kB / 0.9027 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006362/1.314, allocations: 3.043 MB / 0.9056 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.314, allocations: 0 / 0.9056 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007607/1.321, allocations: 1.402 MB / 0.907 GB, free: 5.547 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.02562/1.347, allocations: 12.76 MB / 0.9195 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.363, allocations: 7.912 MB / 0.9272 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.363, allocations: 0 / 0.9272 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006902/1.37, allocations: 3.273 MB / 0.9304 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005428/1.376, allocations: 0.6199 MB / 0.931 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3865/1.762, allocations: 64.23 MB / 0.9937 GB, free: 230.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003681/1.766, allocations: 3.918 MB / 0.9975 GB, free: 230 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003828/1.77, allocations: 2.004 MB / 0.9995 GB, free: 230 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.772, allocations: 2.362 MB / 1.002 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.001e-06/1.772, allocations: 0 / 1.002 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.943, allocations: 119.6 MB / 1.119 GB, free: 114 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.79/25.73, allocations: 17.05 kB / 1.119 GB, free: 114 MB / 0.6544 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.771735885879025]