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.0009648/0.0009648, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001486/0.001486, allocations: 165.6 kB / 24.99 MB, free: 8.316 MB / 18.57 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 0.9377/0.9377, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2495/0.2495, allocations: 34.25 MB / 296 MB, free: 0.7812 MB / 266.7 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 1.493e-06/1.493e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.549e-05, allocations: 4.281 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002602/0.002617, allocations: 2.344 MB / 380.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003878, allocations: 0.9475 MB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.004015, allocations: 15.88 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.004322, allocations: 123 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.0045, allocations: 99.33 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.004949, allocations: 291.4 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.005481, allocations: 0.725 MB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.005636, allocations: 49.23 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.006005, allocations: 391.2 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.006291, allocations: 295.1 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.006364, allocations: 60 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.006422, allocations: 64 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.006566, allocations: 203.4 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.006691, allocations: 179.4 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.007053, allocations: 466.5 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007055, allocations: 0 / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007056, allocations: 0 / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007061, allocations: 0 / 384.2 MB, free: 12.76 MB / 362.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.001157/0.008218, allocations: 0.9167 MB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.008252, allocations: 12.03 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.008377, allocations: 112.6 kB / 385.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.008722, allocations: 311.2 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.009061, allocations: 0.6591 MB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.009123, allocations: 40.38 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.00987, allocations: 0.5876 MB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.009884, allocations: 4.188 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.009922, allocations: 20.12 kB / 386.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.009932, allocations: 8 kB / 386.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.01066, allocations: 469.7 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.01223, allocations: 2.168 MB / 389.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.01301, allocations: 419 kB / 389.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.01328, allocations: 184.4 kB / 390.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.01333, allocations: 8.562 kB / 390.1 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.01335, allocations: 50.5 kB / 390.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.814e-06/0.01336, allocations: 3.938 kB / 390.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01722/0.03058, allocations: 7.716 MB / 397.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.03062, allocations: 94.11 kB / 398 MB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.03089, allocations: 406.5 kB / 398.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.031, allocations: 45.7 kB / 398.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.03111, allocations: 276.3 kB / 398.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.03137, allocations: 412.4 kB / 399.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.03172, allocations: 208.5 kB / 399.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.03186, allocations: 0.5508 MB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/0.03282, allocations: 0.6507 MB / 400.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.03386, allocations: 0.8489 MB / 401.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.03552, allocations: 1.296 MB / 402.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.03552, allocations: 4 kB / 402.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002296/0.03782, allocations: 1.618 MB / 404.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.03784, allocations: 8 kB / 404.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.03784, allocations: 7.984 kB / 404.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.03786, allocations: 8 kB / 404.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.03905, allocations: 359.8 kB / 404.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.03906, allocations: 8 kB / 404.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.03986, allocations: 159.8 kB / 404.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.03995, allocations: 43.98 kB / 404.8 MB, free: 7.48 MB / 378.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 (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.0003067/0.04025, allocations: 224.2 kB / 405 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.04048, allocations: 111.6 kB / 405.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.0406, allocations: 104.7 kB / 405.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.0406, allocations: 12 kB / 405.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.04061, allocations: 0 / 405.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.04062, allocations: 7.969 kB / 405.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.04501, allocations: 3.237 MB / 408.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.04502, allocations: 20 kB / 408.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.04567, allocations: 311.3 kB / 408.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.04569, allocations: 28 kB / 408.9 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.04575, allocations: 48 kB / 408.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/0.04576, allocations: 39.86 kB / 408.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.04578, allocations: 35.84 kB / 409 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.04761, allocations: 2.103 MB / 411.1 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.04784, allocations: 167.4 kB / 411.3 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.04792, allocations: 55.97 kB / 411.3 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.04844, allocations: 139.9 kB / 411.4 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.04872, allocations: 207.3 kB / 411.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.04877, allocations: 56 kB / 411.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.04893, allocations: 259 kB / 412 MB, free: 15.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04893, allocations: 0 / 412 MB, free: 15.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.04953, allocations: 239.9 kB / 412.2 MB, free: 15.26 MB / 394.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.000155/0.04969, allocations: 166.7 kB / 412.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.05129, allocations: 1.163 MB / 413.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.05129, allocations: 8.188 kB / 413.5 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.05178, allocations: 358.8 kB / 413.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.05255, allocations: 211.4 kB / 414.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.05452, allocations: 2.012 MB / 416.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.05476, allocations: 184.9 kB / 416.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005572/0.05532, allocations: 189.9 kB / 416.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.05571, allocations: 76.48 kB / 416.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05571, allocations: 0 / 416.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01658/0.07229, allocations: 18.15 MB / 434.7 MB, free: 8.457 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.6100307020824403]