Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.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.001253/0.001253, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001753/0.001753, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.598/1.598, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2797/0.2797, allocations: 46.94 MB / 360.8 MB, free: 3.914 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: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 75.88 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5277, allocations: 66.08 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004892/0.5326, allocations: 2.251 MB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.5349, allocations: 0.9446 MB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.5351, allocations: 11.94 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.5356, allocations: 119.2 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.5359, allocations: 99.33 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.5367, allocations: 291.6 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008663/0.5376, allocations: 0.7171 MB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.5378, allocations: 48.91 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.5382, allocations: 299.1 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.5387, allocations: 318.7 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.5388, allocations: 67.98 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.5389, allocations: 60 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.5391, allocations: 207.4 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.5394, allocations: 211 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.5401, allocations: 0.5668 MB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5401, allocations: 0 / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5401, allocations: 0 / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5401, allocations: 0 / 0.5672 GB, free: 13.75 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.002563/0.5427, allocations: 0.8831 MB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.5427, allocations: 12.03 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.5429, allocations: 64.61 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.5437, allocations: 321 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/0.5444, allocations: 0.6708 MB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5445, allocations: 44.38 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.5467, allocations: 0.8165 MB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.5467, allocations: 7.938 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.5468, allocations: 23.92 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5468, allocations: 8 kB / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.5505, allocations: 1.208 MB / 0.5711 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.5538, allocations: 1.841 MB / 0.5729 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.5567, allocations: 0.7554 MB / 0.5737 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.5582, allocations: 466.4 kB / 0.5741 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.5583, allocations: 8.562 kB / 0.5741 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.5584, allocations: 39.69 kB / 0.5742 GB, free: 6.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 4.609e-06/0.5584, allocations: 0 / 0.5742 GB, free: 6.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.08541/0.6438, allocations: 15.55 MB / 0.5894 GB, free: 6.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.6439, allocations: 94.05 kB / 0.5894 GB, free: 6.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.6445, allocations: 417.4 kB / 0.5898 GB, free: 6.094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.6447, allocations: 45.7 kB / 0.5899 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.6449, allocations: 221.6 kB / 0.5901 GB, free: 5.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.6454, allocations: 428.2 kB / 0.5905 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/0.646, allocations: 198.9 kB / 0.5907 GB, free: 5.195 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.6463, allocations: 378.7 kB / 0.5911 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.6501, allocations: 1.357 MB / 0.5924 GB, free: 3.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/0.6542, allocations: 1.509 MB / 0.5939 GB, free: 1.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007105/0.6613, allocations: 2.455 MB / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6613, allocations: 0 / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008446/0.6697, allocations: 2.851 MB / 0.599 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6698, allocations: 8.25 kB / 0.599 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.6698, allocations: 12 kB / 0.5991 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.6698, allocations: 8 kB / 0.5991 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.6727, allocations: 411.4 kB / 0.5995 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.6727, allocations: 8 kB / 0.5995 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.6748, allocations: 223.6 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.6749, allocations: 43.98 kB / 0.5997 GB, free: 11.84 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.0005193/0.6754, allocations: 237.9 kB / 0.5999 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.6756, allocations: 63.58 kB / 0.6 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.6759, allocations: 108.7 kB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.6759, allocations: 12 kB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.6759, allocations: 0 / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.6759, allocations: 19.84 kB / 0.6001 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6882, allocations: 4.783 MB / 0.6048 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.6883, allocations: 21 kB / 0.6048 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.6898, allocations: 355.4 kB / 0.6052 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-05/0.6899, allocations: 28 kB / 0.6052 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.6901, allocations: 44 kB / 0.6052 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.079e-05/0.6901, allocations: 43.86 kB / 0.6053 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-05/0.6901, allocations: 31.88 kB / 0.6053 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008309/0.6984, allocations: 3.15 MB / 0.6084 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.6991, allocations: 167.5 kB / 0.6085 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.6993, allocations: 51.98 kB / 0.6086 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.7008, allocations: 191.8 kB / 0.6088 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00055/0.7013, allocations: 231.1 kB / 0.609 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7015, allocations: 59.98 kB / 0.6091 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004381/0.7019, allocations: 279.1 kB / 0.6093 GB, free: 1.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7019, allocations: 0 / 0.6093 GB, free: 1.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001276/0.7032, allocations: 232 kB / 0.6095 GB, free: 1.148 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.0003183/0.7035, allocations: 166.7 kB / 0.6097 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006953/0.7105, allocations: 2.194 MB / 0.6118 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.242e-05/0.7105, allocations: 4 kB / 0.6118 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003839/0.7143, allocations: 1.059 MB / 0.6129 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.7159, allocations: 158.1 kB / 0.613 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.7205, allocations: 1.998 MB / 0.615 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.721, allocations: 321.8 kB / 0.6153 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.7221, allocations: 205.9 kB / 0.6155 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/0.7227, allocations: 71.42 kB / 0.6156 GB, free: 10.65 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7227, allocations: 0 / 0.6156 GB, free: 10.65 MB / 462.1 MB Notification: Performance of Templates: time 0.03786/0.7606, allocations: 18.56 MB / 0.6337 GB, free: 8.211 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.575956791639328]