Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001539, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008318/0.0008318, allocations: 98.47 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3862/0.3862, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 7.984 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3803, allocations: 62.96 MB / 0.5184 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5349, allocations: 112.2 MB / 0.628 GB, free: 9.027 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5351, allocations: 79.94 kB / 0.6281 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5394/1.075, allocations: 127.9 MB / 0.7529 GB, free: 88.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.479e-06/1.075, allocations: 3.938 kB / 0.7529 GB, free: 88.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006476/1.075, allocations: 124 kB / 0.753 GB, free: 88.89 MB / 490.7 MB 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.02282/1.098, allocations: 6.564 MB / 0.7595 GB, free: 84.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.098, allocations: 7.5 kB / 0.7595 GB, free: 84.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/1.125, allocations: 6.673 MB / 0.766 GB, free: 78.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.141, allocations: 5.742 MB / 0.7716 GB, free: 73.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/1.142, allocations: 452.1 kB / 0.772 GB, free: 72.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003345/1.145, allocations: 0.582 MB / 0.7726 GB, free: 72.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/1.181, allocations: 15.61 MB / 0.7878 GB, free: 55.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004586/1.181, allocations: 79.28 kB / 0.7879 GB, free: 55.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/1.184, allocations: 279.8 kB / 0.7882 GB, free: 54.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00223/1.186, allocations: 1.627 MB / 0.7898 GB, free: 53.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.213, allocations: 13.84 MB / 0.8033 GB, free: 39.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08258/1.295, allocations: 63.97 MB / 0.8657 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/1.31, allocations: 6.381 MB / 0.872 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005356/1.315, allocations: 3.564 MB / 0.8755 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3504/1.666, allocations: 14.3 MB / 0.8894 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.666, allocations: 71 kB / 0.8895 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 8.506e-06/1.666, allocations: 0 / 0.8895 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339): time 0.1405/1.806, allocations: 41.43 MB / 0.9299 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.806, allocations: 214.5 kB / 0.9302 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009639/1.816, allocations: 5.402 MB / 0.9354 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.817, allocations: 73.31 kB / 0.9355 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.82, allocations: 4.431 MB / 0.9398 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/1.822, allocations: 1.252 MB / 0.941 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005618/1.823, allocations: 171.1 kB / 0.9412 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004454/1.823, allocations: 0.6772 MB / 0.9419 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00602/1.829, allocations: 4.568 MB / 0.9463 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009518/1.839, allocations: 9.553 MB / 0.9557 GB, free: 109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/1.856, allocations: 15.2 MB / 0.9705 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00022/1.856, allocations: 50 kB / 0.9706 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04164/1.898, allocations: 18.73 MB / 0.9888 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.898, allocations: 83.94 kB / 0.9889 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/1.898, allocations: 180.2 kB / 0.9891 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/1.917, allocations: 5.608 MB / 0.9946 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007453/1.925, allocations: 2.062 MB / 0.9966 GB, free: 79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/1.951, allocations: 23.66 MB / 1.02 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009135/1.96, allocations: 0.5455 MB / 1.02 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.962, allocations: 0.5035 MB / 1.021 GB, free: 54.32 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 () * Number of clocked 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.008687/1.971, allocations: 3.097 MB / 1.024 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.973, allocations: 0.5051 MB / 1.024 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/2, allocations: 12.43 MB / 1.036 GB, free: 38.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/2, allocations: 55.98 kB / 1.036 GB, free: 38.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/2, allocations: 12 kB / 1.036 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/2.001, allocations: 11.95 kB / 1.036 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04553/2.046, allocations: 24.03 MB / 1.06 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-05/2.046, allocations: 11.38 kB / 1.06 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/2.049, allocations: 0.5739 MB / 1.06 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/2.065, allocations: 4.646 MB / 1.065 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000932/2.066, allocations: 55.75 kB / 1.065 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/2.09, allocations: 18.95 MB / 1.084 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/2.09, allocations: 7.938 kB / 1.084 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3675/2.457, allocations: 16.76 MB / 1.1 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/2.46, allocations: 0.5265 MB / 1.1 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/2.462, allocations: 57.56 kB / 1.101 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005814/2.468, allocations: 251.1 kB / 1.101 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/2.469, allocations: 195.6 kB / 1.101 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/2.469, allocations: 94.16 kB / 1.101 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007176/2.476, allocations: 3.348 MB / 1.104 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.363e-06/2.476, allocations: 0 / 1.104 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01201/2.488, allocations: 1.71 MB / 1.106 GB, free: 131.3 MB / 0.5417 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 (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.001168/2.49, allocations: 217.8 kB / 1.106 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01971/2.509, allocations: 10.52 MB / 1.116 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/2.509, allocations: 1.594 kB / 1.116 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/2.516, allocations: 3.988 MB / 1.12 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009746/2.526, allocations: 0.6178 MB / 1.121 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03454/2.561, allocations: 18.41 MB / 1.139 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007196/2.568, allocations: 4.614 MB / 1.143 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00803/2.576, allocations: 2.998 MB / 1.146 GB, free: 118 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/2.577, allocations: 351.6 kB / 1.147 GB, free: 118 MB / 0.5417 GB Notification: Performance of SimCode: time 1.253e-06/2.577, allocations: 0 / 1.147 GB, free: 118 MB / 0.5417 GB Notification: Performance of Templates: time 0.1169/2.694, allocations: 73.73 MB / 1.219 GB, free: 66.88 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches