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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 206 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.95 MB / 360.8 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 79.81 kB / 0.4962 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3939, allocations: 66.1 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01062/0.4045, allocations: 7.629 MB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007759/0.4122, allocations: 3.277 MB / 0.5714 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.4136, allocations: 55.75 kB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.4164, allocations: 1.328 MB / 0.5727 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.4196, allocations: 0.9456 MB / 0.5736 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4212, allocations: 0.5147 MB / 0.5741 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.4243, allocations: 1.722 MB / 0.5758 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.426, allocations: 1.256 MB / 0.577 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.427, allocations: 0.6737 MB / 0.5777 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.4285, allocations: 0.876 MB / 0.5786 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.4288, allocations: 140 kB / 0.5787 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.43, allocations: 0.5578 MB / 0.5792 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007875/0.4308, allocations: 0.748 MB / 0.58 GB, free: 172 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007531/0.4315, allocations: 0.6452 MB / 0.5806 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.4346, allocations: 2.51 MB / 0.583 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4346, allocations: 4 kB / 0.583 GB, free: 12.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4347, allocations: 0 / 0.583 GB, free: 12.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.4347, allocations: 0 / 0.583 GB, free: 12.99 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003797/0.4385, allocations: 1.975 MB / 0.585 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4385, allocations: 8.031 kB / 0.585 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002954/0.4388, allocations: 249.5 kB / 0.5852 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.44, allocations: 283.5 kB / 0.5855 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.4425, allocations: 1.234 MB / 0.5867 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.4426, allocations: 94.39 kB / 0.5868 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.4428, allocations: 124 kB / 0.5869 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/0.4485, allocations: 3.05 MB / 0.5899 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.328e-05/0.4486, allocations: 19.88 kB / 0.5899 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.4487, allocations: 55.97 kB / 0.59 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006619/0.4494, allocations: 434 kB / 0.5904 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005083/0.4544, allocations: 2.175 MB / 0.5925 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.4686, allocations: 10.24 MB / 0.6025 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.4726, allocations: 1.199 MB / 0.6037 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.4732, allocations: 383 kB / 0.604 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004082/0.4773, allocations: 2.007 MB / 0.606 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.4774, allocations: 43 kB / 0.606 GB, free: 4.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.344e-06/0.4774, allocations: 0 / 0.606 GB, free: 4.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01219/0.4896, allocations: 3.586 MB / 0.6095 GB, free: 1.191 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.4896, allocations: 89.59 kB / 0.6096 GB, free: 1.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.4915, allocations: 1.24 MB / 0.6108 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.4915, allocations: 37.7 kB / 0.6109 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000884/0.4924, allocations: 0.9624 MB / 0.6118 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.4926, allocations: 226.2 kB / 0.612 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.4931, allocations: 319.3 kB / 0.6123 GB, free: 14.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4932, allocations: 301.1 kB / 0.6126 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.4939, allocations: 415.7 kB / 0.613 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4955, allocations: 1.271 MB / 0.6142 GB, free: 11.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.4979, allocations: 1.81 MB / 0.616 GB, free: 9.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.498, allocations: 8 kB / 0.616 GB, free: 9.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002943/0.5009, allocations: 1.715 MB / 0.6177 GB, free: 7.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.5009, allocations: 20 kB / 0.6177 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.501, allocations: 28 kB / 0.6177 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.5012, allocations: 88.81 kB / 0.6178 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5023, allocations: 355.9 kB / 0.6182 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.5042, allocations: 1.773 MB / 0.6199 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5053, allocations: 64.17 kB / 0.62 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5054, allocations: 84 kB / 0.62 GB, free: 5.402 MB / 462.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.001093/0.5065, allocations: 0.6479 MB / 0.6207 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.5067, allocations: 123.2 kB / 0.6208 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.507, allocations: 135.6 kB / 0.6209 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.507, allocations: 4 kB / 0.6209 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.507, allocations: 0 / 0.6209 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.507, allocations: 11.92 kB / 0.6209 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.511, allocations: 2.134 MB / 0.623 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.511, allocations: 4 kB / 0.623 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.5114, allocations: 96.39 kB / 0.6231 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.5116, allocations: 72.75 kB / 0.6232 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.5116, allocations: 12 kB / 0.6232 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.5135, allocations: 1.832 MB / 0.625 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/0.5135, allocations: 11.94 kB / 0.625 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5153, allocations: 1.115 MB / 0.6261 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.5156, allocations: 111.2 kB / 0.6262 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5157, allocations: 19.94 kB / 0.6262 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.5161, allocations: 27.92 kB / 0.6262 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.5162, allocations: 39.92 kB / 0.6263 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5162, allocations: 24.06 kB / 0.6263 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.5174, allocations: 0.7674 MB / 0.627 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5174, allocations: 3.938 kB / 0.6271 GB, free: 13.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001552/0.5189, allocations: 292 kB / 0.6273 GB, free: 13.64 MB / 478.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.002266/0.5212, allocations: 1.676 MB / 0.629 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.5233, allocations: 1.061 MB / 0.63 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5233, allocations: 320 / 0.63 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.5239, allocations: 402.2 kB / 0.6304 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.525, allocations: 189.5 kB / 0.6306 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.5441, allocations: 11.51 MB / 0.6418 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.5455, allocations: 0.8591 MB / 0.6426 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.5467, allocations: 405.6 kB / 0.643 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.5475, allocations: 0.5735 MB / 0.6436 GB, free: 11.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5475, allocations: 0 / 0.6436 GB, free: 11.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/0.6163, allocations: 24.02 MB / 0.6671 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.35, allocations: 11.72 kB / 0.6671 GB, free: 4.059 MB / 0.4981 GB " [Timeout remaining time 647] (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.0009996 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.644716666080058]