Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001589/0.001589, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001731/0.001731, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.448/1.448, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/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: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 80.09 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.335, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01263/0.3476, allocations: 8.709 MB / 0.5697 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0077/0.3553, allocations: 3.499 MB / 0.5731 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.3566, allocations: 43.88 kB / 0.5732 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.3595, allocations: 1.39 MB / 0.5745 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.3621, allocations: 0.9378 MB / 0.5755 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3633, allocations: 0.5147 MB / 0.576 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3656, allocations: 1.722 MB / 0.5776 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.3671, allocations: 1.162 MB / 0.5788 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009441/0.368, allocations: 0.6659 MB / 0.5794 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3693, allocations: 0.9424 MB / 0.5803 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.3695, allocations: 140 kB / 0.5805 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3706, allocations: 0.589 MB / 0.5811 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007794/0.3714, allocations: 0.7441 MB / 0.5818 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008929/0.3723, allocations: 0.8314 MB / 0.5826 GB, free: 15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.3755, allocations: 2.479 MB / 0.585 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3755, allocations: 0 / 0.585 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3755, allocations: 0 / 0.585 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.509e-05/0.3756, allocations: 4 kB / 0.585 GB, free: 12.51 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.004052/0.3796, allocations: 2.034 MB / 0.587 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3797, allocations: 15.97 kB / 0.587 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.3808, allocations: 271.6 kB / 0.5873 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.383, allocations: 1.068 MB / 0.5883 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.3831, allocations: 102.6 kB / 0.5884 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.3834, allocations: 123.9 kB / 0.5885 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005951/0.3893, allocations: 3 MB / 0.5915 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.3894, allocations: 11.94 kB / 0.5915 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.3895, allocations: 55.97 kB / 0.5915 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006716/0.3902, allocations: 438 kB / 0.5919 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004983/0.3952, allocations: 2.179 MB / 0.5941 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.4098, allocations: 10.7 MB / 0.6045 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.414, allocations: 1.207 MB / 0.6057 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.4146, allocations: 375.2 kB / 0.6061 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004785/0.4194, allocations: 3.084 MB / 0.6091 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.4194, allocations: 39 kB / 0.6091 GB, free: 2.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.806e-06/0.4194, allocations: 0 / 0.6091 GB, free: 2.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01295/0.4324, allocations: 3.821 MB / 0.6128 GB, free: 15.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.4325, allocations: 81.67 kB / 0.6129 GB, free: 14.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.4348, allocations: 1.185 MB / 0.6141 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.4349, allocations: 33.7 kB / 0.6141 GB, free: 13.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.436, allocations: 0.9663 MB / 0.6151 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.4363, allocations: 230.1 kB / 0.6153 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/0.437, allocations: 315.3 kB / 0.6156 GB, free: 12.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4372, allocations: 309 kB / 0.6159 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/0.4381, allocations: 423.7 kB / 0.6163 GB, free: 11.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.44, allocations: 1.262 MB / 0.6175 GB, free: 9.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.4425, allocations: 1.814 MB / 0.6193 GB, free: 7.531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.4425, allocations: 8 kB / 0.6193 GB, free: 7.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003324/0.4459, allocations: 1.739 MB / 0.621 GB, free: 5.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.4459, allocations: 20.22 kB / 0.621 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.446, allocations: 31.98 kB / 0.621 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.4462, allocations: 88.83 kB / 0.6211 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4474, allocations: 359.3 kB / 0.6215 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.4494, allocations: 1.873 MB / 0.6233 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.4505, allocations: 75.91 kB / 0.6234 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4506, allocations: 84 kB / 0.6234 GB, free: 3.105 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 (194): * Single equations (assignments): 193 * 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.001089/0.4517, allocations: 0.6439 MB / 0.6241 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4519, allocations: 119.2 kB / 0.6242 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.4523, allocations: 135.3 kB / 0.6243 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4523, allocations: 3.984 kB / 0.6243 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4523, allocations: 0 / 0.6243 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.4526, allocations: 180.3 kB / 0.6245 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.4528, allocations: 8 kB / 0.6245 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.4532, allocations: 31.97 kB / 0.6245 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.4533, allocations: 36.45 kB / 0.6246 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001618/0.4549, allocations: 0.7337 MB / 0.6253 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001789/0.4567, allocations: 1.116 MB / 0.6264 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004194/0.4571, allocations: 244.4 kB / 0.6266 GB, free: 15.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.4583, allocations: 0.7554 MB / 0.6273 GB, free: 15.05 MB / 478.1 MB Notification: Performance of Backend: time 1.5e-07/0.4583, allocations: 4 kB / 0.6273 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.461, allocations: 1.063 MB / 0.6284 GB, free: 13.97 MB / 478.1 MB Notification: Performance of SimCode: time 0.006509/0.4675, allocations: 3.302 MB / 0.6316 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Templates: time 0.03119/0.4987, allocations: 13.99 MB / 0.6453 GB, free: 12.68 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.520057533867657]