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.001467/0.001467, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001702/0.001702, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2151/0.2151, allocations: 46.96 MB / 361.6 MB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 79.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3055, allocations: 66.07 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01385/0.3193, allocations: 11.61 MB / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009351/0.3287, allocations: 4.579 MB / 0.5772 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.3305, allocations: 107.4 kB / 0.5773 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006889/0.3374, allocations: 3.637 MB / 0.5809 GB, free: 40 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.3431, allocations: 2.226 MB / 0.5831 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.3459, allocations: 1.084 MB / 0.5841 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.3567, allocations: 6.667 MB / 0.5906 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005987/0.3627, allocations: 3.544 MB / 0.5941 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.3667, allocations: 2.052 MB / 0.5961 GB, free: 376 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.3717, allocations: 2.96 MB / 0.599 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.373, allocations: 428 kB / 0.5994 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.3762, allocations: 1.365 MB / 0.6007 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.3795, allocations: 2.54 MB / 0.6032 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004202/0.3837, allocations: 2.124 MB / 0.6053 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.3955, allocations: 8.977 MB / 0.614 GB, free: 13.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3955, allocations: 0 / 0.614 GB, free: 13.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3955, allocations: 4 kB / 0.614 GB, free: 13.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002906/0.3958, allocations: 0 / 0.614 GB, free: 13.91 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.015/0.4108, allocations: 6.525 MB / 0.6204 GB, free: 7.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4108, allocations: 8.031 kB / 0.6204 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001643/0.411, allocations: 146.6 kB / 0.6206 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/0.4124, allocations: 0.9161 MB / 0.6215 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0373/0.4497, allocations: 6.047 MB / 0.6274 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.4609, allocations: 4.594 MB / 0.6319 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.4612, allocations: 291.3 kB / 0.6321 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.4624, allocations: 387.7 kB / 0.6325 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.4845, allocations: 11.97 MB / 0.6442 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.4847, allocations: 59.53 kB / 0.6442 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005549/0.4853, allocations: 179.8 kB / 0.6444 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.4888, allocations: 2.143 MB / 0.6465 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.5118, allocations: 10.17 MB / 0.6564 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06344/0.5752, allocations: 44.58 MB / 0.7 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.5899, allocations: 5.107 MB / 0.705 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.5938, allocations: 2.652 MB / 0.7076 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.6082, allocations: 7.705 MB / 0.7151 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.6082, allocations: 59.81 kB / 0.7151 GB, free: 4.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 4.96e-06/0.6082, allocations: 0 / 0.7151 GB, free: 4.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.3771/0.9853, allocations: 34.91 MB / 0.7492 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.9854, allocations: 205 kB / 0.7494 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005228/0.9906, allocations: 4.798 MB / 0.7541 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/0.9911, allocations: 72.27 kB / 0.7542 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.9927, allocations: 3.736 MB / 0.7578 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/0.9935, allocations: 1.01 MB / 0.7588 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.995, allocations: 1.358 MB / 0.7601 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.995, allocations: 301.1 kB / 0.7604 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.9982, allocations: 3.023 MB / 0.7634 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/1.002, allocations: 6.89 MB / 0.7701 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/1.01, allocations: 10.68 MB / 0.7805 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.854e-05/1.01, allocations: 36 kB / 0.7806 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02023/1.031, allocations: 13.18 MB / 0.7934 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/1.031, allocations: 64 kB / 0.7935 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-05/1.031, allocations: 135.2 kB / 0.7936 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.041, allocations: 4.218 MB / 0.7978 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/1.045, allocations: 1.408 MB / 0.7991 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/1.074, allocations: 27.94 MB / 0.8264 GB, free: 73.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.079, allocations: 403.4 kB / 0.8268 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.081, allocations: 396 kB / 0.8272 GB, free: 72.27 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.004216/1.085, allocations: 2.466 MB / 0.8296 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/1.086, allocations: 464.9 kB / 0.83 GB, free: 69.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.1, allocations: 8.176 MB / 0.838 GB, free: 61.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/1.1, allocations: 32 kB / 0.838 GB, free: 61.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.1, allocations: 12 kB / 0.8381 GB, free: 61.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.976e-05/1.1, allocations: 11.95 kB / 0.8381 GB, free: 61.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/1.128, allocations: 15.91 MB / 0.8536 GB, free: 45.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/1.128, allocations: 12.06 kB / 0.8536 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.129, allocations: 295.5 kB / 0.8539 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009109/1.138, allocations: 3.803 MB / 0.8576 GB, free: 40.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004262/1.138, allocations: 51.94 kB / 0.8577 GB, free: 40.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/1.168, allocations: 26.75 MB / 0.8838 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.168, allocations: 11.94 kB / 0.8838 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.187, allocations: 12.09 MB / 0.8956 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.188, allocations: 444.7 kB / 0.896 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.189, allocations: 51.94 kB / 0.8961 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.192, allocations: 167.8 kB / 0.8962 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/1.193, allocations: 201.9 kB / 0.8964 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003536/1.193, allocations: 68 kB / 0.8965 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005857/1.199, allocations: 3.035 MB / 0.8995 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.199, allocations: 0 / 0.8995 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007333/1.206, allocations: 1.41 MB / 0.9008 GB, free: 12.25 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.02611/1.233, allocations: 12.76 MB / 0.9133 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.248, allocations: 7.915 MB / 0.921 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.248, allocations: 0 / 0.921 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006786/1.255, allocations: 3.276 MB / 0.9242 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/1.26, allocations: 0.6097 MB / 0.9248 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3766/1.637, allocations: 64.22 MB / 0.9875 GB, free: 229.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/1.64, allocations: 3.41 MB / 0.9909 GB, free: 229 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003585/1.644, allocations: 2.005 MB / 0.9928 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/1.646, allocations: 2.366 MB / 0.9951 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.884e-06/1.646, allocations: 0 / 0.9951 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/1.799, allocations: 116 MB / 1.108 GB, free: 124.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.96/24.76, allocations: 23.12 kB / 1.108 GB, free: 124.6 MB / 0.6544 GB " [Timeout remaining time 635] (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.522780305007473]