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.001399/0.001399, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001138/0.001138, allocations: 167.4 kB / 24.82 MB, free: 9.277 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.983/0.983, allocations: 177 MB / 205.1 MB, free: 5.465 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.2455/0.2455, allocations: 34.87 MB / 296.6 MB, free: 0.5312 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 2.835e-06/2.835e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.207e-05, allocations: 3.297 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002484/0.002516, allocations: 2.326 MB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.00389, allocations: 0.959 MB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.004066, allocations: 7.938 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.004335, allocations: 119.2 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.004515, allocations: 107.3 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.005045, allocations: 295.4 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.005576, allocations: 0.725 MB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.005823, allocations: 41.27 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.006234, allocations: 399.2 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.0065, allocations: 295.1 kB / 384.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.006573, allocations: 64 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.006647, allocations: 64 kB / 384.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.006774, allocations: 199.4 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.00688, allocations: 171.6 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.007224, allocations: 466.5 kB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.007226, allocations: 3.938 kB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007227, allocations: 0 / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.007232, allocations: 3.938 kB / 385.4 MB, free: 11.61 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.001007/0.008239, allocations: 0.9128 MB / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.008274, allocations: 16.02 kB / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.008384, allocations: 108.6 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.008694, allocations: 311.1 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/0.009269, allocations: 0.663 MB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.009332, allocations: 44.36 kB / 387.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.009916, allocations: 0.5368 MB / 388 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.009928, allocations: 192 / 388 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.00996, allocations: 20.12 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.009969, allocations: 12 kB / 388 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.01048, allocations: 389.2 kB / 388.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.01193, allocations: 2.111 MB / 390.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.01255, allocations: 386.7 kB / 390.9 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.01273, allocations: 152.4 kB / 391 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.01279, allocations: 16.53 kB / 391.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01281, allocations: 46.45 kB / 391.1 MB, free: 5.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.402e-06/0.01281, allocations: 0 / 391.1 MB, free: 5.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01505/0.02786, allocations: 7.178 MB / 398.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.0279, allocations: 94.11 kB / 398.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.02814, allocations: 402.3 kB / 398.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.02824, allocations: 45.7 kB / 398.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.02835, allocations: 272.2 kB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.0286, allocations: 424.3 kB / 399.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.02894, allocations: 216.4 kB / 399.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.02909, allocations: 0.5546 MB / 400.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.02966, allocations: 0.5062 MB / 400.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.03029, allocations: 0.7044 MB / 401.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.03163, allocations: 1.081 MB / 402.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.03163, allocations: 0 / 402.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001588/0.03322, allocations: 1.356 MB / 403.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.03324, allocations: 12.3 kB / 403.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.03325, allocations: 8 kB / 403.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.03327, allocations: 8 kB / 403.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.03438, allocations: 351.5 kB / 404.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.03439, allocations: 11.94 kB / 404.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.03513, allocations: 167.8 kB / 404.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.03521, allocations: 27.98 kB / 404.5 MB, free: 7.895 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 (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.0002801/0.03549, allocations: 228.2 kB / 404.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.03569, allocations: 107.5 kB / 404.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.0358, allocations: 112.7 kB / 404.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.03581, allocations: 15.98 kB / 404.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.03582, allocations: 0 / 404.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.03582, allocations: 11.97 kB / 404.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.03975, allocations: 3.111 MB / 408.1 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.03977, allocations: 20 kB / 408.1 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.04063, allocations: 308.3 kB / 408.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.04064, allocations: 24 kB / 408.4 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.0407, allocations: 51.94 kB / 408.4 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.121e-05/0.04072, allocations: 43.86 kB / 408.5 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/0.04073, allocations: 35.81 kB / 408.5 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.0423, allocations: 1.985 MB / 410.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.04253, allocations: 167.5 kB / 410.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.0426, allocations: 51.92 kB / 410.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.04309, allocations: 135.9 kB / 410.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.04334, allocations: 199.2 kB / 411.1 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.04339, allocations: 59.98 kB / 411.1 MB, free: 424 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.04352, allocations: 239 kB / 411.3 MB, free: 180 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04352, allocations: 0 / 411.3 MB, free: 180 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000665/0.04418, allocations: 236 kB / 411.6 MB, free: 15.94 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.0001536/0.04434, allocations: 172.8 kB / 411.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.04549, allocations: 1.006 MB / 412.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.04549, allocations: 4 kB / 412.8 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.04592, allocations: 349.8 kB / 413.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.04677, allocations: 205.3 kB / 413.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.04907, allocations: 1.997 MB / 415.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.04922, allocations: 184.9 kB / 415.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005715/0.04979, allocations: 165.9 kB / 415.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.05037, allocations: 210.2 kB / 415.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05037, allocations: 0 / 415.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of Templates: time 0.01991/0.07028, allocations: 19.43 MB / 435.3 MB, free: 7.875 MB / 410.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.4745463761501014]