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.001304/0.001304, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008229/0.0008229, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9229/0.9229, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2551/0.2551, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.176e-05, allocations: 2.281 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.1999/0.2, allocations: 11.67 MB / 453.8 MB, free: 37.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008819/0.2088, allocations: 4.61 MB / 458.4 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.2114, allocations: 109.4 kB / 458.5 MB, free: 34.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.2152, allocations: 3.817 MB / 462.3 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.2201, allocations: 2.294 MB / 464.6 MB, free: 31.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.2218, allocations: 1.176 MB / 465.8 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.228, allocations: 7.73 MB / 473.5 MB, free: 28.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/0.2322, allocations: 4.291 MB / 477.8 MB, free: 26.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.237, allocations: 3.171 MB / 481 MB, free: 25.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.2411, allocations: 3.152 MB / 484.2 MB, free: 24.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.2427, allocations: 443.9 kB / 484.6 MB, free: 24.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.246, allocations: 1.406 MB / 486 MB, free: 24.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.2495, allocations: 2.667 MB / 488.7 MB, free: 23.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00469/0.2542, allocations: 1.708 MB / 490.4 MB, free: 22.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.2669, allocations: 9.088 MB / 499.5 MB, free: 18.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2669, allocations: 1.156 kB / 499.5 MB, free: 18.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2669, allocations: 0 / 499.5 MB, free: 18.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004273/0.2673, allocations: 0 / 499.5 MB, free: 18.46 MB / 410.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.02175/0.2891, allocations: 6.658 MB / 0.4943 GB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.2891, allocations: 13.59 kB / 0.4943 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002767/0.2919, allocations: 0.9123 MB / 0.4952 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.312, allocations: 6.472 MB / 0.5015 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007662/0.3196, allocations: 4.064 MB / 0.5054 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3198, allocations: 283.7 kB / 0.5057 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.3213, allocations: 392.1 kB / 0.5061 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.3417, allocations: 11.98 MB / 0.5178 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/0.3419, allocations: 63.52 kB / 0.5178 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008518/0.3427, allocations: 179.8 kB / 0.518 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.3449, allocations: 2.14 MB / 0.5201 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.3616, allocations: 10.13 MB / 0.53 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0529/0.4145, allocations: 45.03 MB / 0.574 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009174/0.4237, allocations: 5.258 MB / 0.5791 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.4263, allocations: 2.658 MB / 0.5817 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4364, allocations: 8.009 MB / 0.5895 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4364, allocations: 55.81 kB / 0.5896 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 6.001e-06/0.4364, allocations: 0 / 0.5896 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.07068/0.5071, allocations: 36.1 MB / 0.6248 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5072, allocations: 217.9 kB / 0.625 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007652/0.5148, allocations: 5.537 MB / 0.6305 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008058/0.5156, allocations: 65.7 kB / 0.6305 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2042/0.7199, allocations: 3.682 MB / 0.6341 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.7211, allocations: 0.9975 MB / 0.6351 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/0.7227, allocations: 1.342 MB / 0.6364 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.7228, allocations: 307.5 kB / 0.6367 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.7255, allocations: 3.026 MB / 0.6396 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003811/0.7293, allocations: 6.897 MB / 0.6464 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008347/0.7376, allocations: 10.68 MB / 0.6568 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.729e-05/0.7377, allocations: 35.75 kB / 0.6568 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01738/0.7551, allocations: 13.18 MB / 0.6697 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.7552, allocations: 65.91 kB / 0.6698 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/0.7554, allocations: 136.4 kB / 0.6699 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007138/0.7625, allocations: 4.209 MB / 0.674 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.766, allocations: 1.411 MB / 0.6754 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/0.7917, allocations: 27.97 MB / 0.7027 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.7964, allocations: 487.7 kB / 0.7032 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009271/0.7974, allocations: 398.6 kB / 0.7035 GB, free: 117.3 MB / 0.5261 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.00385/0.8012, allocations: 2.466 MB / 0.7059 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008535/0.8021, allocations: 464.9 kB / 0.7064 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008904/0.811, allocations: 8.173 MB / 0.7144 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/0.811, allocations: 28 kB / 0.7144 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.811, allocations: 19.88 kB / 0.7144 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.8111, allocations: 9.188 kB / 0.7144 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.8311, allocations: 16.08 MB / 0.7301 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.8312, allocations: 4 kB / 0.7301 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/0.832, allocations: 299.5 kB / 0.7304 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005674/0.8377, allocations: 3.803 MB / 0.7341 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006582/0.8383, allocations: 44 kB / 0.7342 GB, free: 88.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/0.8581, allocations: 26.78 MB / 0.7603 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8581, allocations: 7.938 kB / 0.7603 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.8704, allocations: 12.09 MB / 0.7721 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/0.8723, allocations: 0.5045 MB / 0.7726 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008383/0.8731, allocations: 44 kB / 0.7727 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.8747, allocations: 239.6 kB / 0.7729 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000678/0.8754, allocations: 198 kB / 0.7731 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.8755, allocations: 68 kB / 0.7732 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00431/0.8798, allocations: 3.442 MB / 0.7765 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8798, allocations: 4 kB / 0.7765 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006322/0.8861, allocations: 1.566 MB / 0.778 GB, free: 43.32 MB / 0.5261 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.01238/0.8985, allocations: 12.77 MB / 0.7905 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008949/0.9075, allocations: 7.918 MB / 0.7983 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.9075, allocations: 4 kB / 0.7983 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.9109, allocations: 3.274 MB / 0.8015 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.9143, allocations: 0.6176 MB / 0.8021 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.262/1.176, allocations: 65.8 MB / 0.8663 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003231/1.18, allocations: 3.399 MB / 0.8696 GB, free: 158.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002982/1.182, allocations: 2.026 MB / 0.8716 GB, free: 158.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/1.185, allocations: 2.383 MB / 0.8739 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.733e-06/1.185, allocations: 0 / 0.8739 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.308, allocations: 116.4 MB / 0.9876 GB, free: 67.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.84, allocations: 11.83 kB / 0.9876 GB, free: 67.54 MB / 0.5573 GB " [Timeout remaining time 647] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.560918232426047]