Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008353/0.0008353, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009337/0.0009337, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.156/1.156, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1687/0.1687, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002142, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08675, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02056/0.1073, allocations: 25.15 MB / 0.4964 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009889/0.1172, allocations: 6.265 MB / 0.5025 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.1196, allocations: 103.8 kB / 0.5026 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.1201, allocations: 167 kB / 0.5028 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.1218, allocations: 0.8409 MB / 0.5036 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.1226, allocations: 495.2 kB / 0.5041 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1249, allocations: 2.338 MB / 0.5064 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1664/0.2913, allocations: 2.268 MB / 0.5086 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008325/0.2921, allocations: 499.6 kB / 0.5091 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.2933, allocations: 0.789 MB / 0.5098 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.2935, allocations: 53.91 kB / 0.5099 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.2945, allocations: 0.5358 MB / 0.5104 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.2952, allocations: 0.6226 MB / 0.511 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.2961, allocations: 0.7302 MB / 0.5117 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.2986, allocations: 2.33 MB / 0.514 GB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2986, allocations: 0 / 0.514 GB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2986, allocations: 0 / 0.514 GB, free: 9.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.981e-05/0.2987, allocations: 1.312 kB / 0.514 GB, free: 9.812 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003326/0.302, allocations: 1.691 MB / 0.5157 GB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3021, allocations: 11.22 kB / 0.5157 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004499/0.3025, allocations: 246.9 kB / 0.5159 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.3037, allocations: 277.2 kB / 0.5162 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.3056, allocations: 1.26 MB / 0.5174 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.3057, allocations: 98.89 kB / 0.5175 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.3059, allocations: 123.1 kB / 0.5176 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004976/0.3109, allocations: 3.017 MB / 0.5206 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.311, allocations: 15.56 kB / 0.5206 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.3111, allocations: 56.09 kB / 0.5206 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005471/0.3117, allocations: 433.9 kB / 0.521 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/0.3157, allocations: 2.198 MB / 0.5232 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008636/0.3244, allocations: 10.73 MB / 0.5337 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.3278, allocations: 1.254 MB / 0.5349 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.3283, allocations: 406.3 kB / 0.5353 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/0.3313, allocations: 3.092 MB / 0.5383 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3313, allocations: 45.22 kB / 0.5383 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 1.794e-06/0.3313, allocations: 0 / 0.5383 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01023/0.3416, allocations: 3.819 MB / 0.5421 GB, free: 12.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3416, allocations: 84.45 kB / 0.5421 GB, free: 11.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3428, allocations: 1.192 MB / 0.5433 GB, free: 11.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3428, allocations: 35.77 kB / 0.5433 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.3434, allocations: 0.9304 MB / 0.5443 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.3435, allocations: 214.6 kB / 0.5445 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3437, allocations: 149.2 kB / 0.5446 GB, free: 10.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.3438, allocations: 301.1 kB / 0.5449 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.3443, allocations: 416.8 kB / 0.5453 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3454, allocations: 1.25 MB / 0.5465 GB, free: 8.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3471, allocations: 1.809 MB / 0.5483 GB, free: 6.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.3471, allocations: 6.812 kB / 0.5483 GB, free: 6.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002193/0.3493, allocations: 1.721 MB / 0.55 GB, free: 5.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3493, allocations: 20 kB / 0.55 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.3494, allocations: 28 kB / 0.55 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.3496, allocations: 87.27 kB / 0.5501 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.3505, allocations: 353.2 kB / 0.5504 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.3518, allocations: 1.694 MB / 0.5521 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.3525, allocations: 76.03 kB / 0.5522 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.3526, allocations: 86.34 kB / 0.5522 GB, free: 3.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007523/0.3534, allocations: 0.639 MB / 0.5529 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3535, allocations: 122.4 kB / 0.553 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3537, allocations: 135.6 kB / 0.5531 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3537, allocations: 12 kB / 0.5531 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3537, allocations: 0 / 0.5531 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3538, allocations: 3.984 kB / 0.5531 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.3567, allocations: 2.246 MB / 0.5553 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3567, allocations: 4.5 kB / 0.5553 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.357, allocations: 108.8 kB / 0.5554 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.3572, allocations: 64.77 kB / 0.5555 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.3572, allocations: 16 kB / 0.5555 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.3586, allocations: 1.75 MB / 0.5572 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3586, allocations: 4 kB / 0.5572 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.36, allocations: 1.124 MB / 0.5583 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.3602, allocations: 183.7 kB / 0.5585 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.3603, allocations: 16.06 kB / 0.5585 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.3606, allocations: 27.98 kB / 0.5585 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3607, allocations: 50.56 kB / 0.5586 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3607, allocations: 20 kB / 0.5586 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008011/0.3615, allocations: 0.7597 MB / 0.5593 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0 / 0.5593 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001059/0.3626, allocations: 292 kB / 0.5596 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/0.3642, allocations: 1.683 MB / 0.5613 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.3657, allocations: 1.101 MB / 0.5623 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3657, allocations: 4 kB / 0.5623 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.3662, allocations: 419.7 kB / 0.5627 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.3676, allocations: 183.9 kB / 0.5629 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.3817, allocations: 12.74 MB / 0.5754 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.3828, allocations: 1.451 MB / 0.5768 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009041/0.3837, allocations: 405.6 kB / 0.5772 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.3843, allocations: 0.5813 MB / 0.5777 GB, free: 7.734 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3843, allocations: 0 / 0.5777 GB, free: 7.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4159, allocations: 21.68 MB / 0.5989 GB, free: 2.324 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.4162, allocations: 227.9 kB / 0.5991 GB, free: 2.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.31, allocations: 0 / 0.5991 GB, free: 2.062 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches