Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 46.93 MB / 361.7 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 67.89 kB / 0.4969 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3702, allocations: 66.03 MB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0121/0.3823, allocations: 8.71 MB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00842/0.3907, allocations: 3.512 MB / 0.5734 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3922, allocations: 55.69 kB / 0.5734 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.3952, allocations: 1.386 MB / 0.5748 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.398, allocations: 0.9301 MB / 0.5757 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3993, allocations: 0.5186 MB / 0.5762 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.402, allocations: 1.73 MB / 0.5779 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.4038, allocations: 1.253 MB / 0.5791 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.405, allocations: 0.6776 MB / 0.5798 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.4065, allocations: 0.9347 MB / 0.5807 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.4068, allocations: 140 kB / 0.5808 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.408, allocations: 0.5929 MB / 0.5814 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008152/0.4088, allocations: 0.7441 MB / 0.5821 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009694/0.4098, allocations: 0.8314 MB / 0.5829 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.4134, allocations: 2.487 MB / 0.5853 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4134, allocations: 0 / 0.5853 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4134, allocations: 0 / 0.5853 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.417e-05/0.4134, allocations: 0 / 0.5853 GB, free: 11.8 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.004572/0.418, allocations: 1.982 MB / 0.5873 GB, free: 9.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4181, allocations: 11.97 kB / 0.5873 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.715e-05/0.4181, allocations: 38.67 kB / 0.5873 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003233/0.4185, allocations: 253.5 kB / 0.5876 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.4197, allocations: 283.5 kB / 0.5878 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.4225, allocations: 1.229 MB / 0.589 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.4226, allocations: 94.39 kB / 0.5891 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.4228, allocations: 128 kB / 0.5893 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006201/0.429, allocations: 2.996 MB / 0.5922 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.429, allocations: 15.88 kB / 0.5922 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.4292, allocations: 59.97 kB / 0.5923 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007065/0.4299, allocations: 430 kB / 0.5927 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/0.4353, allocations: 2.179 MB / 0.5948 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.4507, allocations: 10.64 MB / 0.6052 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.4551, allocations: 1.207 MB / 0.6064 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.4558, allocations: 367.1 kB / 0.6067 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004294/0.4601, allocations: 2.104 MB / 0.6088 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.4601, allocations: 38.94 kB / 0.6088 GB, free: 3.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 4.108e-06/0.4601, allocations: 7.984 kB / 0.6088 GB, free: 3.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01299/0.4731, allocations: 3.586 MB / 0.6123 GB, free: 15.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.4732, allocations: 81.61 kB / 0.6124 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.4751, allocations: 1.186 MB / 0.6136 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.4752, allocations: 33.7 kB / 0.6136 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.4761, allocations: 0.9663 MB / 0.6145 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.4764, allocations: 238.1 kB / 0.6148 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004573/0.4769, allocations: 311.4 kB / 0.6151 GB, free: 12.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.477, allocations: 301.1 kB / 0.6153 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/0.4778, allocations: 411.7 kB / 0.6157 GB, free: 11.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.4793, allocations: 1.246 MB / 0.6169 GB, free: 10.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.4819, allocations: 1.81 MB / 0.6187 GB, free: 8.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.4819, allocations: 8 kB / 0.6187 GB, free: 8.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00327/0.4852, allocations: 1.719 MB / 0.6204 GB, free: 6.332 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.4852, allocations: 20 kB / 0.6204 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/0.4852, allocations: 28 kB / 0.6204 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.4855, allocations: 88.77 kB / 0.6205 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4867, allocations: 351.4 kB / 0.6209 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.4889, allocations: 1.773 MB / 0.6226 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4902, allocations: 63.98 kB / 0.6227 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.4903, allocations: 92.25 kB / 0.6227 GB, free: 3.809 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.001389/0.4917, allocations: 0.6445 MB / 0.6234 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.492, allocations: 119.2 kB / 0.6235 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.4924, allocations: 135.6 kB / 0.6236 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4924, allocations: 8 kB / 0.6236 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.4924, allocations: 8 kB / 0.6236 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4924, allocations: 3.984 kB / 0.6236 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.4971, allocations: 2.211 MB / 0.6258 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.4971, allocations: 7.984 kB / 0.6258 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.4976, allocations: 95.83 kB / 0.6259 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.4978, allocations: 64.81 kB / 0.626 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.4978, allocations: 12 kB / 0.626 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.4999, allocations: 1.841 MB / 0.6278 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.4999, allocations: 8.062 kB / 0.6278 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.5017, allocations: 1.111 MB / 0.6289 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.5021, allocations: 119.1 kB / 0.629 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.5023, allocations: 15.94 kB / 0.629 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.5027, allocations: 19.98 kB / 0.629 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.5028, allocations: 63.84 kB / 0.6291 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.5028, allocations: 16 kB / 0.6291 GB, free: 13.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001783/0.5046, allocations: 0.7636 MB / 0.6298 GB, free: 12.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 0 / 0.6298 GB, free: 12.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001463/0.5061, allocations: 292 kB / 0.6301 GB, free: 11.97 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.00224/0.5083, allocations: 1.684 MB / 0.6318 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.5105, allocations: 1.065 MB / 0.6328 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5105, allocations: 0 / 0.6328 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.5112, allocations: 395.8 kB / 0.6332 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5125, allocations: 183.5 kB / 0.6333 GB, free: 8.555 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.531, allocations: 11.52 MB / 0.6446 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.5324, allocations: 1.447 MB / 0.646 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.5335, allocations: 417.6 kB / 0.6464 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/0.5343, allocations: 0.5774 MB / 0.647 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5343, allocations: 0 / 0.647 GB, free: 9.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.5981, allocations: 24.35 MB / 0.6707 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.63, allocations: 11.61 kB / 0.6708 GB, free: 1.406 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/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_4.1.0_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: 18.583448438032065]