Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.89 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3551, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01468/0.3698, allocations: 12.64 MB / 0.5429 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009879/0.3798, allocations: 4.071 MB / 0.5468 GB, free: 372 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.3827, allocations: 68.41 kB / 0.5469 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004228/0.387, allocations: 1.832 MB / 0.5487 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.3922, allocations: 1.762 MB / 0.5504 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3937, allocations: 495 kB / 0.5509 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005451/0.3992, allocations: 3.773 MB / 0.5546 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.4035, allocations: 2.868 MB / 0.5574 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.4059, allocations: 1.335 MB / 0.5587 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.4088, allocations: 1.877 MB / 0.5605 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000974/0.4098, allocations: 284 kB / 0.5608 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.4125, allocations: 1.092 MB / 0.5618 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.4147, allocations: 1.741 MB / 0.5636 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.4181, allocations: 2.061 MB / 0.5656 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009087/0.4272, allocations: 6.882 MB / 0.5723 GB, free: 6.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4272, allocations: 4 kB / 0.5723 GB, free: 6.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4272, allocations: 0 / 0.5723 GB, free: 6.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.4275, allocations: 0 / 0.5723 GB, free: 6.875 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01419/0.4417, allocations: 4.793 MB / 0.577 GB, free: 2.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4418, allocations: 8.031 kB / 0.577 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.4437, allocations: 0.7575 MB / 0.5777 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.4547, allocations: 3.126 MB / 0.5808 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.46, allocations: 2.271 MB / 0.583 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.4603, allocations: 213.8 kB / 0.5832 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.4616, allocations: 295.7 kB / 0.5835 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4813, allocations: 10.96 MB / 0.5942 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.4815, allocations: 23.72 kB / 0.5942 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4825, allocations: 127.8 kB / 0.5943 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004284/0.4868, allocations: 2.511 MB / 0.5968 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/0.5077, allocations: 10.28 MB / 0.6068 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05456/0.5623, allocations: 34.87 MB / 0.6409 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/0.5703, allocations: 4.289 MB / 0.6451 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/0.5733, allocations: 2.115 MB / 0.6471 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.5746, allocations: 1.315 MB / 0.6484 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.5747, allocations: 52.55 kB / 0.6485 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 4.698e-06/0.5747, allocations: 0 / 0.6485 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04148/0.6162, allocations: 13.65 MB / 0.6618 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.6163, allocations: 73.41 kB / 0.6619 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.6208, allocations: 2.754 MB / 0.6645 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.6212, allocations: 61.7 kB / 0.6646 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.6231, allocations: 2.833 MB / 0.6674 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.6243, allocations: 0.9366 MB / 0.6683 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.6264, allocations: 1.127 MB / 0.6694 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6266, allocations: 309.1 kB / 0.6697 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.6303, allocations: 2.295 MB / 0.6719 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/0.6367, allocations: 5.391 MB / 0.6772 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.647, allocations: 8.442 MB / 0.6854 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.67e-05/0.6471, allocations: 32 kB / 0.6855 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01678/0.6639, allocations: 8.397 MB / 0.6937 GB, free: 5.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.6641, allocations: 52.06 kB / 0.6937 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.6643, allocations: 108 kB / 0.6938 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/0.668, allocations: 1.04 MB / 0.6948 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/0.6725, allocations: 1.294 MB / 0.6961 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.6755, allocations: 2.597 MB / 0.6986 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/0.6792, allocations: 303.8 kB / 0.6989 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009827/0.6802, allocations: 328 kB / 0.6992 GB, free: 15.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004196/0.6845, allocations: 2.181 MB / 0.7014 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009743/0.6854, allocations: 280.3 kB / 0.7016 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009804/0.6953, allocations: 4.962 MB / 0.7065 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.162e-05/0.6954, allocations: 47.98 kB / 0.7065 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.6954, allocations: 0 / 0.7065 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/0.6954, allocations: 15.98 kB / 0.7065 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/0.7184, allocations: 11.21 MB / 0.7175 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.7185, allocations: 8 kB / 0.7175 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.7204, allocations: 407.3 kB / 0.7179 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.7237, allocations: 0.9037 MB / 0.7188 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/0.7241, allocations: 59.97 kB / 0.7188 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.7268, allocations: 2.418 MB / 0.7212 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.7268, allocations: 12.06 kB / 0.7212 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.7392, allocations: 7.377 MB / 0.7284 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7402, allocations: 321.5 kB / 0.7287 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007186/0.741, allocations: 51.94 kB / 0.7287 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7425, allocations: 139.7 kB / 0.7289 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/0.7429, allocations: 153.7 kB / 0.729 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/0.7432, allocations: 71.98 kB / 0.7291 GB, free: 444 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2998/1.043, allocations: 1.682 MB / 0.7307 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.164e-06/1.043, allocations: 0 / 0.7307 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005553/1.049, allocations: 0.9547 MB / 0.7317 GB, free: 176.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01207/1.061, allocations: 8.034 MB / 0.7395 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008731/1.07, allocations: 6.088 MB / 0.7455 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.07, allocations: 3.719 kB / 0.7455 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/1.073, allocations: 2.563 MB / 0.748 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.076, allocations: 456.9 kB / 0.7484 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05545/1.131, allocations: 42.68 MB / 0.7901 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004431/1.136, allocations: 3.382 MB / 0.7934 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004094/1.14, allocations: 2.041 MB / 0.7954 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/1.142, allocations: 1.858 MB / 0.7972 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/1.142, allocations: 1.422 kB / 0.7972 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09073/1.233, allocations: 59.32 MB / 0.8551 GB, free: 61.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.07/18.31, allocations: 15.66 kB / 0.8551 GB, free: 61.83 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches