Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001395/0.001395, allocations: 76.58 kB / 19.93 MB, free: 1.781 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.001515/0.001515, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2773/0.2773, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.187e-05, allocations: 2.281 kB / 407.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005079/0.00511, allocations: 2.244 MB / 409.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.007758, allocations: 0.956 MB / 410.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.008029, allocations: 15.88 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.008549, allocations: 119.1 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.008925, allocations: 107.3 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.009984, allocations: 299.3 kB / 411.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01124, allocations: 0.7328 MB / 411.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.01145, allocations: 49.25 kB / 411.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.01218, allocations: 399.2 kB / 412.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.01279, allocations: 299.1 kB / 412.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.01295, allocations: 60 kB / 412.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.01309, allocations: 64 kB / 412.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.0134, allocations: 207.4 kB / 412.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.01369, allocations: 167.6 kB / 413 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009931/0.01468, allocations: 0.627 MB / 413.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.01469, allocations: 4 kB / 413.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01469, allocations: 0 / 413.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.0147, allocations: 3.938 kB / 413.7 MB, free: 12.67 MB / 350.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.003323/0.01802, allocations: 0.8714 MB / 414.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.01807, allocations: 8.031 kB / 414.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.01828, allocations: 68.61 kB / 414.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.01918, allocations: 320.3 kB / 414.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008205/0.02, allocations: 0.6669 MB / 415.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.02014, allocations: 52.36 kB / 415.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.02335, allocations: 0.8169 MB / 416.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.02338, allocations: 4.125 kB / 416.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.02347, allocations: 20.12 kB / 416.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.0235, allocations: 12 kB / 416.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/0.02908, allocations: 1.216 MB / 417.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.03325, allocations: 1.84 MB / 419.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.03739, allocations: 0.751 MB / 420.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.03975, allocations: 467.3 kB / 420.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.23e-05/0.03984, allocations: 8 kB / 420.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.0399, allocations: 50.44 kB / 420.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.897e-06/0.0399, allocations: 0 / 420.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.1095/0.1494, allocations: 15.55 MB / 436.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1495, allocations: 90.11 kB / 436.4 MB, free: 5.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.1502, allocations: 417.4 kB / 436.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.1504, allocations: 49.7 kB / 436.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1506, allocations: 213.6 kB / 437.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006074/0.1512, allocations: 424.3 kB / 437.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.1519, allocations: 198.9 kB / 437.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.1521, allocations: 382.7 kB / 438.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004402/0.1565, allocations: 1.357 MB / 439.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/0.1611, allocations: 1.505 MB / 441 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008197/0.1693, allocations: 2.456 MB / 443.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.1693, allocations: 4 kB / 443.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009351/0.1787, allocations: 2.855 MB / 446.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1787, allocations: 12 kB / 446.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1787, allocations: 4 kB / 446.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.1788, allocations: 8 kB / 446.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.1818, allocations: 407.4 kB / 446.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.34e-05/0.1818, allocations: 12 kB / 446.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.1841, allocations: 219.7 kB / 446.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.1843, allocations: 39.98 kB / 447 MB, free: 10.79 MB / 382.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.0005997/0.1849, allocations: 245.2 kB / 447.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.1852, allocations: 63.58 kB / 447.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1855, allocations: 108.7 kB / 447.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1855, allocations: 12 kB / 447.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1855, allocations: 0 / 447.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.1855, allocations: 11.97 kB / 447.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.199, allocations: 4.775 MB / 452.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.942e-05/0.1991, allocations: 24 kB / 452.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.2008, allocations: 367.4 kB / 452.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.61e-05/0.2008, allocations: 28 kB / 452.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.2009, allocations: 48 kB / 452.6 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.609e-05/0.201, allocations: 39.86 kB / 452.7 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-05/0.201, allocations: 35.81 kB / 452.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.2097, allocations: 3.093 MB / 455.8 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.2102, allocations: 175.4 kB / 456 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.2104, allocations: 51.98 kB / 456 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.2119, allocations: 191.8 kB / 456.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005226/0.2125, allocations: 231.2 kB / 456.4 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.2126, allocations: 56 kB / 456.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.2129, allocations: 279.1 kB / 456.7 MB, free: 376 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2129, allocations: 0 / 456.7 MB, free: 376 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.2141, allocations: 235.9 kB / 457 MB, free: 140 kB / 382.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.000335/0.2144, allocations: 180.9 kB / 457.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007554/0.222, allocations: 2.187 MB / 459.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.222, allocations: 4 kB / 459.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.2259, allocations: 1.063 MB / 460.4 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.2274, allocations: 141.4 kB / 460.5 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.2319, allocations: 1.937 MB / 462.5 MB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.2324, allocations: 325.8 kB / 462.8 MB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.2335, allocations: 205.9 kB / 463 MB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/0.2341, allocations: 72.48 kB / 463.1 MB, free: 9.688 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2341, allocations: 0 / 463.1 MB, free: 9.688 MB / 398.1 MB Notification: Performance of Templates: time 0.2156/0.4497, allocations: 18.06 MB / 481.1 MB, free: 70.88 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.657628245651722]