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.001515/0.001515, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001292/0.001292, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9725/0.9725, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.2387/0.2387, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 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 1.162e-06/1.162e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.581e-05, allocations: 3.016 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002299/0.002315, allocations: 2.33 MB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003527, allocations: 0.9827 MB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.003641, allocations: 15.88 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.003923, allocations: 111.2 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.004082, allocations: 95.33 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.004472, allocations: 307.3 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.004937, allocations: 0.7256 MB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005038, allocations: 53.91 kB / 330.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.005318, allocations: 395.2 kB / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.005562, allocations: 287.2 kB / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.005629, allocations: 64 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.005687, allocations: 60 kB / 331.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.005818, allocations: 199.4 kB / 331.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.005936, allocations: 183.5 kB / 331.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.006258, allocations: 462.4 kB / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006259, allocations: 0 / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00626, allocations: 0 / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.006264, allocations: 0 / 332.1 MB, free: 0.9297 MB / 298.7 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.00108/0.007344, allocations: 0.781 MB / 332.9 MB, free: 128 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.007373, allocations: 12.03 kB / 332.9 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.007468, allocations: 104.9 kB / 333 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.007765, allocations: 268.4 kB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.008056, allocations: 0.6591 MB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.008119, allocations: 40.38 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.008691, allocations: 0.5159 MB / 334.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.008706, allocations: 12.11 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.008743, allocations: 24.06 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008751, allocations: 8 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.009232, allocations: 339 kB / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01043, allocations: 1.428 MB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.01105, allocations: 452.4 kB / 336.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.01122, allocations: 134.8 kB / 336.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/0.01127, allocations: 12.5 kB / 336.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.01129, allocations: 47.67 kB / 336.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.573e-06/0.01129, allocations: 0 / 336.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01715/0.02845, allocations: 7.69 MB / 344.6 MB, free: 4.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.02849, allocations: 90.11 kB / 344.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.02868, allocations: 327.2 kB / 345 MB, free: 3.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.793e-05/0.02878, allocations: 45.7 kB / 345.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.02886, allocations: 198 kB / 345.3 MB, free: 3.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.02909, allocations: 424.3 kB / 345.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.0294, allocations: 194.8 kB / 345.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.0295, allocations: 386.6 kB / 346.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.03001, allocations: 425.4 kB / 346.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.03064, allocations: 0.5721 MB / 347.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.03163, allocations: 0.9957 MB / 348.2 MB, free: 276 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.03164, allocations: 3.938 kB / 348.2 MB, free: 272 kB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00128/0.03292, allocations: 1.093 MB / 349.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.03293, allocations: 8 kB / 349.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.03294, allocations: 4 kB / 349.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.03295, allocations: 8 kB / 349.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.03401, allocations: 355.5 kB / 349.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.03401, allocations: 8 kB / 349.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.03469, allocations: 167.8 kB / 349.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.03476, allocations: 27.98 kB / 349.9 MB, free: 14.6 MB / 330.7 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 (integrator.local_reset,integrator1.local_reset,integrator2.local_reset,integrator3.local_reset,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2a.noWphase) * 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.0002578/0.03502, allocations: 188.3 kB / 350.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.03519, allocations: 75.95 kB / 350.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.03529, allocations: 108.7 kB / 350.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.03529, allocations: 12 kB / 350.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.0353, allocations: 4 kB / 350.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.03531, allocations: 3.984 kB / 350.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.03875, allocations: 2.593 MB / 352.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.03876, allocations: 21 kB / 352.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.03934, allocations: 303.4 kB / 353.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.03936, allocations: 31.98 kB / 353.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.03941, allocations: 48 kB / 353.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.99e-05/0.03943, allocations: 43.8 kB / 353.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.03945, allocations: 31.88 kB / 353.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.04074, allocations: 1.626 MB / 355 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.04092, allocations: 103.5 kB / 355.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.04099, allocations: 47.98 kB / 355.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.04147, allocations: 135.8 kB / 355.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.04172, allocations: 219.2 kB / 355.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.04176, allocations: 48 kB / 355.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.04185, allocations: 120.7 kB / 355.6 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04185, allocations: 0 / 355.6 MB, free: 8.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.04241, allocations: 235.9 kB / 355.8 MB, free: 8.012 MB / 330.7 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.0001449/0.04255, allocations: 147.9 kB / 356 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.04356, allocations: 0.9083 MB / 356.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.04357, allocations: 8 kB / 356.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.04394, allocations: 349.8 kB / 357.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.04466, allocations: 207.8 kB / 357.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.04636, allocations: 1.751 MB / 359.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.0465, allocations: 184.9 kB / 359.4 MB, free: 4.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.04702, allocations: 162 kB / 359.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.04758, allocations: 187.3 kB / 359.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04758, allocations: 0 / 359.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of Templates: time 0.01879/0.06637, allocations: 19.24 MB / 379 MB, free: 0.6836 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.183806562796235]