Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008194, allocations: 84.06 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.285e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4862, allocations: 111.2 MB / 0.6103 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4865, allocations: 71.97 kB / 0.6104 GB, free: 9.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5795/1.066, allocations: 128.6 MB / 0.736 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/1.066, allocations: 0 / 0.736 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003555/1.066, allocations: 120.9 kB / 0.7361 GB, free: 114.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02125/1.088, allocations: 6.325 MB / 0.7423 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.088, allocations: 15.56 kB / 0.7423 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/1.118, allocations: 8.32 MB / 0.7505 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/1.137, allocations: 7.053 MB / 0.7573 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/1.137, allocations: 465.6 kB / 0.7578 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/1.141, allocations: 0.5809 MB / 0.7583 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/1.171, allocations: 15.61 MB / 0.7736 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/1.171, allocations: 72.19 kB / 0.7737 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.172, allocations: 283.3 kB / 0.7739 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/1.174, allocations: 1.616 MB / 0.7755 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02411/1.198, allocations: 13.81 MB / 0.789 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07647/1.275, allocations: 64.05 MB / 0.8515 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/1.288, allocations: 6.416 MB / 0.8578 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.292, allocations: 3.521 MB / 0.8612 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.314, allocations: 14.4 MB / 0.8753 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/1.314, allocations: 64.5 kB / 0.8754 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 6.703e-06/1.314, allocations: 0 / 0.8754 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.08531/1.399, allocations: 29.67 MB / 0.9043 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.4, allocations: 218 kB / 0.9046 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/1.407, allocations: 4.765 MB / 0.9092 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007228/1.408, allocations: 77.38 kB / 0.9093 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002993/1.411, allocations: 4.419 MB / 0.9136 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.282/1.693, allocations: 1.252 MB / 0.9148 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.694, allocations: 175 kB / 0.915 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007016/1.695, allocations: 0.6782 MB / 0.9156 GB, free: 120 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007487/1.702, allocations: 4.489 MB / 0.92 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/1.712, allocations: 9.443 MB / 0.9293 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.725, allocations: 6.423 MB / 0.9355 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002988/1.725, allocations: 49.81 kB / 0.9356 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04204/1.767, allocations: 18.57 MB / 0.9537 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.767, allocations: 84.03 kB / 0.9538 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/1.767, allocations: 172.5 kB / 0.954 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01989/1.787, allocations: 5.629 MB / 0.9594 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007471/1.795, allocations: 2.063 MB / 0.9615 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/1.821, allocations: 23.63 MB / 0.9845 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008766/1.829, allocations: 0.5415 MB / 0.9851 GB, free: 99.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/1.832, allocations: 0.4998 MB / 0.9856 GB, free: 99.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002096/1.834, allocations: 0.7535 MB / 0.9863 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/1.836, allocations: 0.5034 MB / 0.9868 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02863/1.864, allocations: 12.34 MB / 0.9988 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.692e-05/1.865, allocations: 59.27 kB / 0.9989 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.865, allocations: 7.125 kB / 0.9989 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.23e-05/1.865, allocations: 21.09 kB / 0.9989 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04431/1.909, allocations: 23.95 MB / 1.022 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/1.909, allocations: 6.75 kB / 1.022 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/1.912, allocations: 0.5774 MB / 1.023 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01697/1.929, allocations: 4.646 MB / 1.027 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007375/1.93, allocations: 53.02 kB / 1.027 GB, free: 78.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/1.95, allocations: 18.93 MB / 1.046 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.95, allocations: 7.938 kB / 1.046 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.979, allocations: 17.38 MB / 1.063 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.981, allocations: 0.5354 MB / 1.063 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.982, allocations: 62 kB / 1.064 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.985, allocations: 243.6 kB / 1.064 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006917/1.986, allocations: 202.4 kB / 1.064 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.986, allocations: 85.64 kB / 1.064 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004541/1.991, allocations: 3.302 MB / 1.067 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/1.991, allocations: 0 / 1.067 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007083/1.998, allocations: 1.715 MB / 1.069 GB, free: 37.62 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005834/1.998, allocations: 217.5 kB / 1.069 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01268/2.011, allocations: 10.39 MB / 1.079 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/2.011, allocations: 0 / 1.079 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004495/2.016, allocations: 3.94 MB / 1.083 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/2.019, allocations: 0.5692 MB / 1.084 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/2.04, allocations: 13.51 MB / 1.097 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005194/2.045, allocations: 4.746 MB / 1.102 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007046/2.052, allocations: 3 MB / 1.104 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.054, allocations: 347.4 kB / 1.105 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.054, allocations: 0 / 1.105 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of Templates: time 0.3806/2.434, allocations: 73.57 MB / 1.177 GB, free: 112.5 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches