Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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.001906/0.001906, allocations: 107 kB / 21.18 MB, free: 0.6445 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.002619/0.002619, allocations: 209.2 kB / 24.48 MB, free: 3.938 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2345/0.2345, allocations: 46.97 MB / 361.6 MB, free: 4.031 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: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3898, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003974/0.3938, allocations: 2.249 MB / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3956, allocations: 0.9484 MB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3957, allocations: 11.94 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.3961, allocations: 119.2 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3964, allocations: 95.33 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.397, allocations: 295.5 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008531/0.3979, allocations: 0.7171 MB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3981, allocations: 52.89 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.3985, allocations: 299 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.3989, allocations: 358.7 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3991, allocations: 64 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3992, allocations: 60 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.3994, allocations: 203.4 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.3996, allocations: 207 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.4003, allocations: 0.5707 MB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4003, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4003, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4003, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002501/0.4028, allocations: 0.887 MB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4028, allocations: 8.031 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.403, allocations: 64.61 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.4036, allocations: 329 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.4043, allocations: 0.6669 MB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4044, allocations: 44.38 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.4065, allocations: 0.8126 MB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.4066, allocations: 7.938 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.4066, allocations: 16 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4066, allocations: 8 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.4102, allocations: 1.212 MB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.4135, allocations: 1.841 MB / 0.5736 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.4163, allocations: 0.7542 MB / 0.5744 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.4178, allocations: 466.4 kB / 0.5748 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.4178, allocations: 12.56 kB / 0.5748 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4179, allocations: 43.69 kB / 0.5749 GB, free: 6.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.886e-06/0.4179, allocations: 0 / 0.5749 GB, free: 6.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09235/0.5102, allocations: 15.55 MB / 0.59 GB, free: 6.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.5103, allocations: 90.11 kB / 0.5901 GB, free: 6.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005873/0.5109, allocations: 417.4 kB / 0.5905 GB, free: 6.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.5111, allocations: 45.7 kB / 0.5906 GB, free: 6.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.5112, allocations: 229.5 kB / 0.5908 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.5117, allocations: 420.3 kB / 0.5912 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/0.5123, allocations: 202.8 kB / 0.5914 GB, free: 5.352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.5125, allocations: 378.7 kB / 0.5917 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/0.5161, allocations: 1.357 MB / 0.5931 GB, free: 3.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.5198, allocations: 1.505 MB / 0.5945 GB, free: 2.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006682/0.5265, allocations: 2.455 MB / 0.5969 GB, free: 15.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5265, allocations: 0 / 0.5969 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008233/0.5347, allocations: 2.859 MB / 0.5997 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.5347, allocations: 8 kB / 0.5997 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.5348, allocations: 4 kB / 0.5997 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.5348, allocations: 8 kB / 0.5997 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.5377, allocations: 411.6 kB / 0.6001 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.5377, allocations: 11.98 kB / 0.6001 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.5398, allocations: 223.6 kB / 0.6004 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.54, allocations: 43.98 kB / 0.6004 GB, free: 12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005478/0.5405, allocations: 234 kB / 0.6006 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.5407, allocations: 63.58 kB / 0.6007 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.541, allocations: 116.7 kB / 0.6008 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.541, allocations: 12 kB / 0.6008 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.5411, allocations: 0 / 0.6008 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.5411, allocations: 15.91 kB / 0.6008 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.5528, allocations: 4.787 MB / 0.6055 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/0.5528, allocations: 20 kB / 0.6055 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.5544, allocations: 363.6 kB / 0.6059 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.305e-05/0.5545, allocations: 28 kB / 0.6059 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-05/0.5546, allocations: 40 kB / 0.6059 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.565e-05/0.5546, allocations: 39.86 kB / 0.606 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/0.5546, allocations: 35.81 kB / 0.606 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.5622, allocations: 3.147 MB / 0.6091 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.5628, allocations: 167.5 kB / 0.6092 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.5629, allocations: 51.98 kB / 0.6093 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5642, allocations: 191.8 kB / 0.6095 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/0.5648, allocations: 231.2 kB / 0.6097 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5649, allocations: 56 kB / 0.6097 GB, free: 1.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003507/0.5652, allocations: 279.1 kB / 0.61 GB, free: 1.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5652, allocations: 0 / 0.61 GB, free: 1.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001024/0.5663, allocations: 232 kB / 0.6102 GB, free: 1.309 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/0.5665, allocations: 170.7 kB / 0.6104 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006342/0.5729, allocations: 2.194 MB / 0.6125 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/0.5729, allocations: 4 kB / 0.6125 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.5764, allocations: 1.059 MB / 0.6136 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.5777, allocations: 150.8 kB / 0.6137 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.582, allocations: 1.987 MB / 0.6156 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5824, allocations: 325.9 kB / 0.616 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.5834, allocations: 205.9 kB / 0.6162 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/0.5842, allocations: 71.42 kB / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5842, allocations: 0 / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of Templates: time 0.0286/0.6128, allocations: 18.88 MB / 0.6347 GB, free: 8.074 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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.918066876998637]