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.0009281/0.0009281, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.001085/0.001085, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.9565/0.9565, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1458/0.1458, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.974e-05, allocations: 10.02 kB / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003186/0.003226, allocations: 2.247 MB / 409.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.00472, allocations: 0.9637 MB / 410 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.004956, allocations: 11.88 kB / 410.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.005341, allocations: 127.2 kB / 410.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.005589, allocations: 99.33 kB / 410.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.006308, allocations: 299.3 kB / 410.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.007011, allocations: 0.7406 MB / 411.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.007159, allocations: 53.2 kB / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.007606, allocations: 391.2 kB / 411.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.007957, allocations: 303.1 kB / 412 MB, free: 8.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.137e-05/0.008039, allocations: 60 kB / 412.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.0081, allocations: 64 kB / 412.2 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.008238, allocations: 203.3 kB / 412.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.008356, allocations: 171.6 kB / 412.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.008881, allocations: 0.6193 MB / 413.1 MB, free: 7.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.008886, allocations: 4 kB / 413.2 MB, free: 7.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008887, allocations: 3.938 kB / 413.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.008901, allocations: 4 kB / 413.2 MB, free: 7.164 MB / 346.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.001494/0.01039, allocations: 0.8675 MB / 414 MB, free: 6.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.01044, allocations: 8.031 kB / 414 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/0.01052, allocations: 90.7 kB / 414.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.01061, allocations: 64.61 kB / 414.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.01111, allocations: 324.3 kB / 414.5 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.01147, allocations: 0.6669 MB / 415.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.01154, allocations: 44.38 kB / 415.2 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.01277, allocations: 0.8169 MB / 416 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.01279, allocations: 4.141 kB / 416 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.01282, allocations: 23.88 kB / 416.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01283, allocations: 16 kB / 416.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.01487, allocations: 1.216 MB / 417.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.01698, allocations: 1.887 MB / 419.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.01862, allocations: 0.7482 MB / 419.9 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.01945, allocations: 471.3 kB / 420.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.01951, allocations: 8 kB / 420.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.01953, allocations: 42.5 kB / 420.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.01954, allocations: 0 / 420.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2197/0.2392, allocations: 15.55 MB / 436 MB, free: 40.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.2392, allocations: 94.89 kB / 436.1 MB, free: 40.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.2397, allocations: 415.7 kB / 436.5 MB, free: 40.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002338/0.24, allocations: 44.67 kB / 436.5 MB, free: 40.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2401, allocations: 218.3 kB / 436.7 MB, free: 40.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.2403, allocations: 421.3 kB / 437.1 MB, free: 40.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.2407, allocations: 201.5 kB / 437.3 MB, free: 40.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.2407, allocations: 374.4 kB / 437.7 MB, free: 39.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.2429, allocations: 1.355 MB / 439.1 MB, free: 39.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.2452, allocations: 1.507 MB / 440.6 MB, free: 38.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.2493, allocations: 2.458 MB / 443 MB, free: 37.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.2493, allocations: 1.375 kB / 443 MB, free: 37.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005204/0.2545, allocations: 2.857 MB / 445.9 MB, free: 36.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.2546, allocations: 9.406 kB / 445.9 MB, free: 36.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2546, allocations: 3.844 kB / 445.9 MB, free: 36.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.2546, allocations: 8.422 kB / 445.9 MB, free: 36.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.2562, allocations: 407.6 kB / 446.3 MB, free: 36.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.2562, allocations: 10.05 kB / 446.3 MB, free: 36.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2573, allocations: 224.3 kB / 446.5 MB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.2574, allocations: 44.69 kB / 446.6 MB, free: 36.59 MB / 362.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.0003963/0.2578, allocations: 232.8 kB / 446.8 MB, free: 36.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.258, allocations: 66.19 kB / 446.9 MB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2581, allocations: 112.8 kB / 447 MB, free: 36.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.2581, allocations: 12.62 kB / 447 MB, free: 36.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.2581, allocations: 0 / 447 MB, free: 36.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.2582, allocations: 9.984 kB / 447 MB, free: 36.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008303/0.2665, allocations: 4.863 MB / 451.9 MB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/0.2665, allocations: 21.25 kB / 451.9 MB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/0.2674, allocations: 354.5 kB / 452.2 MB, free: 33.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.15e-05/0.2674, allocations: 26.75 kB / 452.3 MB, free: 33.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.2675, allocations: 47.5 kB / 452.3 MB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-05/0.2675, allocations: 39.52 kB / 452.3 MB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.2675, allocations: 36.38 kB / 452.4 MB, free: 33.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/0.2719, allocations: 3.095 MB / 455.5 MB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.2722, allocations: 166 kB / 455.6 MB, free: 31.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.2723, allocations: 56.81 kB / 455.7 MB, free: 31.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.273, allocations: 190.6 kB / 455.9 MB, free: 31.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.2734, allocations: 230.8 kB / 456.1 MB, free: 31.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.2734, allocations: 58.44 kB / 456.2 MB, free: 31.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.2737, allocations: 284 kB / 456.4 MB, free: 31.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 456.4 MB, free: 31.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007433/0.2744, allocations: 239.2 kB / 456.7 MB, free: 31.48 MB / 362.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.003946/0.2783, allocations: 3.685 MB / 460.4 MB, free: 28.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005456/0.2838, allocations: 2.187 MB / 462.5 MB, free: 25.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-05/0.2838, allocations: 4 kB / 462.5 MB, free: 25.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.2861, allocations: 1.063 MB / 463.6 MB, free: 24.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2871, allocations: 160.2 kB / 463.8 MB, free: 24.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.3017, allocations: 12.44 MB / 476.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3019, allocations: 329.7 kB / 476.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000696/0.3026, allocations: 207.3 kB / 476.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.3031, allocations: 220.4 kB / 476.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3031, allocations: 0 / 476.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.3391, allocations: 24.05 MB / 0.4893 GB, free: 2.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.853, allocations: 7.844 kB / 0.4893 GB, free: 2.648 MB / 378.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000598444 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.csv","/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] "" Variables in the reference:time,integrator.y,integrator1.y,integrator2.y,integrator3.y Variables in the result:time,integrator.y,integrator1.y,integrator2.y,integrator3.y [Calling sys.exit(0), Time elapsed: 10.11356707289815]