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.001724/0.001724, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001602, allocations: 72.95 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1366, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.017/0.1537, allocations: 8.633 MB / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1645, allocations: 3.464 MB / 492.2 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.1665, allocations: 51.81 kB / 492.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.1704, allocations: 1.359 MB / 493.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.174, allocations: 0.9066 MB / 494.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.1757, allocations: 0.5264 MB / 495.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.1789, allocations: 1.714 MB / 496.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.1818, allocations: 1.663 MB / 498.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1834, allocations: 0.662 MB / 499.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.1856, allocations: 0.8802 MB / 500 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005845/0.1862, allocations: 144 kB / 0.4884 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1877, allocations: 0.5617 MB / 0.489 GB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.1887, allocations: 0.7286 MB / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.1902, allocations: 0.8315 MB / 0.4905 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.1936, allocations: 2.426 MB / 0.4929 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1936, allocations: 0 / 0.4929 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1936, allocations: 0 / 0.4929 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.456e-05/0.1937, allocations: 0 / 0.4929 GB, free: 12.48 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.005235/0.199, allocations: 1.998 MB / 0.4948 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.199, allocations: 8.031 kB / 0.4948 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005464/0.1996, allocations: 249.5 kB / 0.495 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.201, allocations: 274.6 kB / 0.4953 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.2035, allocations: 1.258 MB / 0.4965 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.2036, allocations: 110.3 kB / 0.4966 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.2039, allocations: 123.9 kB / 0.4968 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005727/0.2096, allocations: 2.996 MB / 0.4997 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.2097, allocations: 15.88 kB / 0.4997 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.2098, allocations: 55.97 kB / 0.4998 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000617/0.2104, allocations: 430 kB / 0.5002 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.2153, allocations: 2.179 MB / 0.5023 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2631/0.4783, allocations: 10.72 MB / 0.5128 GB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.4825, allocations: 1.257 MB / 0.514 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.4832, allocations: 407.2 kB / 0.5144 GB, free: 34.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003896/0.4871, allocations: 3.078 MB / 0.5174 GB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4871, allocations: 39.17 kB / 0.5174 GB, free: 32.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/0.4871, allocations: 0 / 0.5174 GB, free: 32.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01211/0.4993, allocations: 3.789 MB / 0.5211 GB, free: 30.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4993, allocations: 84.88 kB / 0.5212 GB, free: 30.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.501, allocations: 1.197 MB / 0.5224 GB, free: 30.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.5011, allocations: 32.14 kB / 0.5224 GB, free: 30.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.5016, allocations: 0.9351 MB / 0.5233 GB, free: 29.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5018, allocations: 216.3 kB / 0.5235 GB, free: 29.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.5021, allocations: 313.4 kB / 0.5238 GB, free: 29.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.5022, allocations: 305.1 kB / 0.5241 GB, free: 28.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.5028, allocations: 412.9 kB / 0.5245 GB, free: 28.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.5038, allocations: 1.244 MB / 0.5257 GB, free: 27.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.5056, allocations: 1.805 MB / 0.5275 GB, free: 25.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.5056, allocations: 9.094 kB / 0.5275 GB, free: 25.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003019/0.5086, allocations: 1.715 MB / 0.5292 GB, free: 25.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.5087, allocations: 19.72 kB / 0.5292 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.5087, allocations: 31.02 kB / 0.5292 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.509, allocations: 87.75 kB / 0.5293 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.5101, allocations: 355.4 kB / 0.5296 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.5115, allocations: 1.882 MB / 0.5315 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5126, allocations: 70.42 kB / 0.5315 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5127, allocations: 84.88 kB / 0.5316 GB, free: 23.23 MB / 382.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.0008732/0.5136, allocations: 0.6335 MB / 0.5322 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5137, allocations: 123.9 kB / 0.5324 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.5139, allocations: 133 kB / 0.5325 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-06/0.5139, allocations: 5.875 kB / 0.5325 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.5139, allocations: 9.188 kB / 0.5325 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.514, allocations: 1 kB / 0.5325 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.5171, allocations: 2.247 MB / 0.5347 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5172, allocations: 12.05 kB / 0.5347 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.5175, allocations: 98.3 kB / 0.5348 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.5177, allocations: 66.5 kB / 0.5349 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.5177, allocations: 15.69 kB / 0.5349 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.519, allocations: 1.941 MB / 0.5368 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.519, allocations: 3.438 kB / 0.5368 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.5203, allocations: 1.111 MB / 0.5379 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5205, allocations: 179.4 kB / 0.538 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5206, allocations: 14.97 kB / 0.5381 GB, free: 18.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.5209, allocations: 26.33 kB / 0.5381 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.521, allocations: 54.62 kB / 0.5381 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.521, allocations: 18.59 kB / 0.5381 GB, free: 18.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008346/0.5219, allocations: 0.7554 MB / 0.5389 GB, free: 17.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5219, allocations: 0 / 0.5389 GB, free: 17.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001584/0.5235, allocations: 291.5 kB / 0.5392 GB, free: 17.91 MB / 382.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.001623/0.5251, allocations: 1.683 MB / 0.5408 GB, free: 16.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.527, allocations: 1.208 MB / 0.542 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.527, allocations: 0 / 0.542 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.5275, allocations: 428.4 kB / 0.5424 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.5285, allocations: 187 kB / 0.5426 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.5412, allocations: 12.05 MB / 0.5543 GB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.5423, allocations: 1.451 MB / 0.5558 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5434, allocations: 409.6 kB / 0.5561 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/0.5442, allocations: 0.5774 MB / 0.5567 GB, free: 14.7 MB / 398.1 MB Notification: Performance of SimCode: time 5.27e-06/0.5442, allocations: 0 / 0.5567 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/0.6041, allocations: 22.46 MB / 0.5786 GB, free: 8.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.74, allocations: 8.062 kB / 0.5787 GB, free: 8.422 MB / 414.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/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