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.001132/0.001132, allocations: 71.7 kB / 20.01 MB, free: 4.508 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.001289/0.001289, allocations: 173.9 kB / 23.31 MB, free: 1.207 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.868/0.868, allocations: 158.6 MB / 185.1 MB, free: 2.945 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.1319/0.1319, allocations: 32.38 MB / 269.7 MB, free: 14.91 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 1.703e-06/1.703e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.447e-05, allocations: 6.078 kB / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002404/0.002419, allocations: 2.244 MB / 409.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003472, allocations: 0.9636 MB / 410.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.003589, allocations: 15.88 kB / 410.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.003883, allocations: 119.2 kB / 410.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.004038, allocations: 99.34 kB / 410.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.004416, allocations: 299.3 kB / 410.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.004869, allocations: 0.7328 MB / 411.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004992, allocations: 53.19 kB / 411.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.005269, allocations: 395.2 kB / 412 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.005508, allocations: 299.1 kB / 412.3 MB, free: 8.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.005572, allocations: 60 kB / 412.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.005628, allocations: 64 kB / 412.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.005767, allocations: 207.4 kB / 412.6 MB, free: 7.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.005876, allocations: 175.5 kB / 412.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.006254, allocations: 0.6193 MB / 413.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006256, allocations: 0 / 413.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006257, allocations: 0 / 413.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006262, allocations: 3.984 kB / 413.4 MB, free: 7.059 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.001202/0.007464, allocations: 0.8714 MB / 414.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.007498, allocations: 8.031 kB / 414.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.007565, allocations: 90.7 kB / 414.3 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.007632, allocations: 68.61 kB / 414.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.00825, allocations: 320.4 kB / 414.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.008568, allocations: 0.6786 MB / 415.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.008633, allocations: 48.36 kB / 415.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.009769, allocations: 0.8208 MB / 416.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.009784, allocations: 4.141 kB / 416.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.009824, allocations: 23.94 kB / 416.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.009833, allocations: 12 kB / 416.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.0117, allocations: 1.212 MB / 417.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01331, allocations: 1.894 MB / 419.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.01479, allocations: 0.7444 MB / 420.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.01558, allocations: 463.3 kB / 420.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-05/0.01565, allocations: 8 kB / 420.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.01568, allocations: 46.48 kB / 420.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.884e-06/0.01568, allocations: 4 kB / 420.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2172/0.2329, allocations: 15.54 MB / 436.2 MB, free: 40.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.233, allocations: 90.03 kB / 436.3 MB, free: 40.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2334, allocations: 416 kB / 436.7 MB, free: 40.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.2336, allocations: 44.86 kB / 436.7 MB, free: 40.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.2337, allocations: 218.6 kB / 437 MB, free: 40.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2339, allocations: 427.8 kB / 437.4 MB, free: 40.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.2342, allocations: 200.4 kB / 437.6 MB, free: 40.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.2343, allocations: 377.4 kB / 437.9 MB, free: 39.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.2364, allocations: 1.351 MB / 439.3 MB, free: 39.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.2386, allocations: 1.509 MB / 440.8 MB, free: 38.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.2425, allocations: 2.457 MB / 443.3 MB, free: 37.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2425, allocations: 5.219 kB / 443.3 MB, free: 37.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004874/0.2474, allocations: 2.855 MB / 446.1 MB, free: 36.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.2474, allocations: 5.781 kB / 446.1 MB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2474, allocations: 3.188 kB / 446.1 MB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.2474, allocations: 12.16 kB / 446.1 MB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.2489, allocations: 410.6 kB / 446.5 MB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.2489, allocations: 9.531 kB / 446.5 MB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.2499, allocations: 224.1 kB / 446.8 MB, free: 36.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/0.25, allocations: 40.64 kB / 446.8 MB, free: 36.54 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.0003037/0.2503, allocations: 230 kB / 447 MB, free: 36.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2504, allocations: 66.8 kB / 447.1 MB, free: 36.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.2505, allocations: 112.2 kB / 447.2 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2505, allocations: 11.66 kB / 447.2 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.2505, allocations: 8.422 kB / 447.2 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.2505, allocations: 8.672 kB / 447.2 MB, free: 36.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.2576, allocations: 4.866 MB / 452.1 MB, free: 33.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.2576, allocations: 24.53 kB / 452.1 MB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/0.2585, allocations: 352 kB / 452.5 MB, free: 33.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-05/0.2585, allocations: 32.09 kB / 452.5 MB, free: 33.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.2586, allocations: 48.45 kB / 452.5 MB, free: 33.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-05/0.2586, allocations: 41.92 kB / 452.6 MB, free: 33.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-05/0.2587, allocations: 35.19 kB / 452.6 MB, free: 33.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.2626, allocations: 3.092 MB / 455.7 MB, free: 32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.2628, allocations: 174.5 kB / 455.9 MB, free: 31.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.2629, allocations: 51.89 kB / 455.9 MB, free: 31.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.2635, allocations: 191.5 kB / 456.1 MB, free: 31.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.2637, allocations: 228.6 kB / 456.3 MB, free: 31.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.2638, allocations: 56.62 kB / 456.4 MB, free: 31.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.264, allocations: 282 kB / 456.7 MB, free: 31.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.264, allocations: 0 / 456.7 MB, free: 31.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005696/0.2645, allocations: 232.8 kB / 456.9 MB, free: 31.41 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.003529/0.2681, allocations: 3.693 MB / 460.6 MB, free: 27.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.2711, allocations: 2.185 MB / 462.8 MB, free: 25.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2711, allocations: 4.125 kB / 462.8 MB, free: 25.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.2728, allocations: 1.066 MB / 463.8 MB, free: 24.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.2735, allocations: 144.8 kB / 464 MB, free: 24.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.2866, allocations: 12.44 MB / 476.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2868, allocations: 321.8 kB / 476.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.2874, allocations: 206.4 kB / 477 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.2879, allocations: 220.4 kB / 477.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2879, allocations: 3.938 kB / 477.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.3196, allocations: 24.08 MB / 0.4895 GB, free: 2.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.531, allocations: 3.906 kB / 0.4895 GB, free: 2.473 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: 9.604136151261628]