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.001597/0.001597, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001925/0.001925, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.419/1.419, allocations: 230.5 MB / 258.1 MB, free: 8 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.2248/0.2248, allocations: 46.92 MB / 361.5 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] 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.002488/0.002488, allocations: 75.88 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3503, allocations: 66.09 MB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003943/0.3542, allocations: 2.431 MB / 0.5643 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.356, allocations: 0.9835 MB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3562, allocations: 19.81 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3566, allocations: 115.3 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.3568, allocations: 103.3 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.3575, allocations: 291.5 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.3583, allocations: 0.7171 MB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3584, allocations: 47.92 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.3588, allocations: 311 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.3593, allocations: 342.7 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3594, allocations: 56 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.3595, allocations: 60 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.3597, allocations: 203.4 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.3599, allocations: 242.7 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.3606, allocations: 0.5561 MB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3606, allocations: 0 / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3606, allocations: 0 / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3606, allocations: 0 / 0.5682 GB, free: 13.73 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.002251/0.3628, allocations: 0.8714 MB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3629, allocations: 8.031 kB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.363, allocations: 72.55 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.3636, allocations: 313.1 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/0.3643, allocations: 0.6747 MB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.3644, allocations: 48.3 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.3664, allocations: 0.8048 MB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3664, allocations: 3.938 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.3665, allocations: 24 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3665, allocations: 12 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.3698, allocations: 1.196 MB / 0.5722 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.3728, allocations: 1.999 MB / 0.5741 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.3757, allocations: 0.7837 MB / 0.5749 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3771, allocations: 453.3 kB / 0.5753 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/0.3772, allocations: 4 kB / 0.5753 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3773, allocations: 46.5 kB / 0.5754 GB, free: 6.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.066e-06/0.3773, allocations: 0 / 0.5754 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08316/0.4604, allocations: 15.48 MB / 0.5905 GB, free: 6.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.4605, allocations: 94.11 kB / 0.5906 GB, free: 6.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.461, allocations: 385.5 kB / 0.5909 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.4612, allocations: 45.7 kB / 0.591 GB, free: 5.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4614, allocations: 233.5 kB / 0.5912 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.4618, allocations: 412.5 kB / 0.5916 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.4624, allocations: 202.8 kB / 0.5918 GB, free: 5.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4626, allocations: 370.8 kB / 0.5921 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.466, allocations: 1.345 MB / 0.5935 GB, free: 3.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/0.4697, allocations: 1.497 MB / 0.5949 GB, free: 1.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00649/0.4762, allocations: 2.436 MB / 0.5973 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.4762, allocations: 4 kB / 0.5973 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007488/0.4837, allocations: 2.831 MB / 0.6001 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4837, allocations: 4 kB / 0.6001 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4837, allocations: 4 kB / 0.6001 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/0.4837, allocations: 8 kB / 0.6001 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.4864, allocations: 411.6 kB / 0.6005 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-05/0.4864, allocations: 19.86 kB / 0.6005 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.4883, allocations: 215.7 kB / 0.6007 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4885, allocations: 39.98 kB / 0.6007 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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0004892/0.4889, allocations: 242.8 kB / 0.601 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.4891, allocations: 59.62 kB / 0.601 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.4894, allocations: 108.7 kB / 0.6011 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4894, allocations: 12 kB / 0.6011 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.4894, allocations: 3.938 kB / 0.6011 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.4895, allocations: 3.984 kB / 0.6011 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.5013, allocations: 5.196 MB / 0.6062 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.5013, allocations: 23.98 kB / 0.6062 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.5028, allocations: 356.2 kB / 0.6066 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.115e-05/0.5028, allocations: 28 kB / 0.6066 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/0.5029, allocations: 48 kB / 0.6067 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-05/0.5029, allocations: 39.86 kB / 0.6067 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-05/0.503, allocations: 43.8 kB / 0.6067 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/0.5102, allocations: 3.091 MB / 0.6098 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.5106, allocations: 167.5 kB / 0.6099 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5108, allocations: 51.98 kB / 0.61 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.512, allocations: 187.8 kB / 0.6101 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.5124, allocations: 223.2 kB / 0.6104 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/0.5125, allocations: 64 kB / 0.6104 GB, free: 1.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003475/0.5129, allocations: 263.1 kB / 0.6107 GB, free: 1.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5129, allocations: 0 / 0.6107 GB, free: 1.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009997/0.5139, allocations: 228 kB / 0.6109 GB, free: 0.8008 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.000252/0.5141, allocations: 158.8 kB / 0.611 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005987/0.5201, allocations: 2.167 MB / 0.6132 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.5201, allocations: 4 kB / 0.6132 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.5234, allocations: 1.05 MB / 0.6142 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5246, allocations: 143.9 kB / 0.6143 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.5288, allocations: 2.022 MB / 0.6163 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.5295, allocations: 0.9321 MB / 0.6172 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.5301, allocations: 75.42 kB / 0.6173 GB, free: 9.91 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5301, allocations: 0 / 0.6173 GB, free: 9.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02306/0.5532, allocations: 14.33 MB / 0.6313 GB, free: 11.59 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/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_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: 8.775812227046117]