Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008012/0.0008013, allocations: 102 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3417/0.3417, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003607, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.5362, allocations: 109.4 MB / 0.6252 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5365, allocations: 79.95 kB / 0.6253 GB, free: 11.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5638/1.1, allocations: 96.07 MB / 0.7191 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.096e-06/1.1, allocations: 2.625 kB / 0.7191 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00041/1.101, allocations: 87.38 kB / 0.7192 GB, free: 100.1 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01867/1.12, allocations: 4.921 MB / 0.724 GB, free: 98.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.12, allocations: 8.438 kB / 0.724 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/1.139, allocations: 5.088 MB / 0.729 GB, free: 97.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/1.151, allocations: 4.669 MB / 0.7335 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.151, allocations: 326.9 kB / 0.7339 GB, free: 95.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/1.154, allocations: 445.2 kB / 0.7343 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/1.179, allocations: 10.98 MB / 0.745 GB, free: 89.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003835/1.18, allocations: 75.81 kB / 0.7451 GB, free: 89.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.182, allocations: 211.8 kB / 0.7453 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/1.183, allocations: 1.022 MB / 0.7463 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/1.203, allocations: 9.183 MB / 0.7552 GB, free: 86.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04765/1.251, allocations: 47.56 MB / 0.8017 GB, free: 39.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009166/1.26, allocations: 4.128 MB / 0.8057 GB, free: 34.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/1.262, allocations: 1.826 MB / 0.8075 GB, free: 33.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00902/1.271, allocations: 7.42 MB / 0.8148 GB, free: 25.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.271, allocations: 59.48 kB / 0.8148 GB, free: 25.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 5.089e-06/1.271, allocations: 0 / 0.8148 GB, free: 25.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1427/1.414, allocations: 40.7 MB / 0.8546 GB, free: 496 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.414, allocations: 201.9 kB / 0.8548 GB, free: 248 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008259/1.422, allocations: 4.261 MB / 0.8589 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006237/1.423, allocations: 57.7 kB / 0.859 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.425, allocations: 3.231 MB / 0.8621 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.427, allocations: 0.8748 MB / 0.863 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/1.427, allocations: 124 kB / 0.8631 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005789/1.428, allocations: 0.5822 MB / 0.8637 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/1.433, allocations: 3.425 MB / 0.867 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009019/1.442, allocations: 7.072 MB / 0.8739 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3001/1.743, allocations: 11.28 MB / 0.8849 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.743, allocations: 39.16 kB / 0.885 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03592/1.779, allocations: 15.46 MB / 0.9001 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/1.779, allocations: 60.75 kB / 0.9001 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.779, allocations: 127.8 kB / 0.9002 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/1.801, allocations: 5.912 MB / 0.906 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/1.807, allocations: 1.438 MB / 0.9074 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/1.837, allocations: 25 MB / 0.9318 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006992/1.844, allocations: 387.1 kB / 0.9322 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.846, allocations: 381.9 kB / 0.9326 GB, free: 117.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (746): * Single equations (assignments): 741 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004468/1.85, allocations: 2.225 MB / 0.9347 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008708/1.851, allocations: 395.2 kB / 0.9351 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02441/1.875, allocations: 10.82 MB / 0.9457 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-05/1.875, allocations: 25.75 kB / 0.9457 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.876, allocations: 10.59 kB / 0.9457 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/1.876, allocations: 13.02 kB / 0.9457 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03941/1.915, allocations: 20.21 MB / 0.9655 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/1.915, allocations: 3.969 kB / 0.9655 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/1.917, allocations: 390.6 kB / 0.9658 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/1.935, allocations: 5.001 MB / 0.9707 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006228/1.936, allocations: 40 kB / 0.9708 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02225/1.958, allocations: 20.18 MB / 0.9905 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.958, allocations: 11.94 kB / 0.9905 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/1.984, allocations: 13.98 MB / 1.004 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.986, allocations: 443.9 kB / 1.005 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007605/1.987, allocations: 45.33 kB / 1.005 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.989, allocations: 171.7 kB / 1.005 GB, free: 68.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/1.99, allocations: 152.9 kB / 1.005 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.99, allocations: 65.17 kB / 1.005 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00398/1.994, allocations: 2.672 MB / 1.008 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.994, allocations: 0 / 1.008 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006648/2, allocations: 1.33 MB / 1.009 GB, free: 64.56 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006283/2.001, allocations: 204.5 kB / 1.009 GB, free: 64.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01049/2.012, allocations: 7.953 MB / 1.017 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.012, allocations: 4.312 kB / 1.017 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004046/2.016, allocations: 3.119 MB / 1.02 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/2.022, allocations: 0.5061 MB / 1.02 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/2.04, allocations: 13.43 MB / 1.034 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/2.044, allocations: 3.512 MB / 1.037 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004979/2.049, allocations: 1.971 MB / 1.039 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009666/2.05, allocations: 267.4 kB / 1.039 GB, free: 33.58 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/2.05, allocations: 0 / 1.039 GB, free: 33.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.4023/2.452, allocations: 63.83 MB / 1.101 GB, free: 134.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches