Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001525/0.001525, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.00144/0.00144, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 79.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3117, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003682/0.3154, allocations: 2.427 MB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3173, allocations: 0.9835 MB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3174, allocations: 15.81 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.3178, allocations: 123.2 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.318, allocations: 103.3 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.3186, allocations: 294.9 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.3195, allocations: 0.7211 MB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3196, allocations: 51.22 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.32, allocations: 307 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.3205, allocations: 342.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.3206, allocations: 60 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.3207, allocations: 60 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.3209, allocations: 195.4 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.3211, allocations: 242.7 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.3218, allocations: 0.5564 MB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3218, allocations: 8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3218, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3218, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.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.002285/0.3241, allocations: 0.8675 MB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3241, allocations: 11.97 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.3242, allocations: 86.72 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3243, allocations: 68.61 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.3249, allocations: 313.1 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/0.3255, allocations: 0.6708 MB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.3256, allocations: 40.31 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.3276, allocations: 0.8201 MB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3277, allocations: 0 / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.3277, allocations: 16 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3277, allocations: 8 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.3311, allocations: 1.204 MB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.3341, allocations: 1.999 MB / 0.5738 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.337, allocations: 0.7816 MB / 0.5745 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3384, allocations: 449.3 kB / 0.5749 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.3385, allocations: 8 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.3385, allocations: 42.5 kB / 0.575 GB, free: 6.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.817e-06/0.3385, allocations: 7.984 kB / 0.575 GB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08767/0.4262, allocations: 15.47 MB / 0.5901 GB, free: 6.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.4263, allocations: 90.05 kB / 0.5902 GB, free: 6.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.4269, allocations: 393.5 kB / 0.5906 GB, free: 6.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.4271, allocations: 45.7 kB / 0.5906 GB, free: 5.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4273, allocations: 221.5 kB / 0.5908 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.4278, allocations: 412.5 kB / 0.5912 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/0.4283, allocations: 206.8 kB / 0.5914 GB, free: 5.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.4286, allocations: 374.8 kB / 0.5918 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/0.4321, allocations: 1.342 MB / 0.5931 GB, free: 3.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.4358, allocations: 1.501 MB / 0.5946 GB, free: 1.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.4423, allocations: 2.436 MB / 0.5969 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4423, allocations: 0 / 0.5969 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007729/0.45, allocations: 2.828 MB / 0.5997 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.4501, allocations: 8 kB / 0.5997 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4501, allocations: 4 kB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/0.4501, allocations: 11.94 kB / 0.5997 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/0.453, allocations: 407.7 kB / 0.6001 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.453, allocations: 19.86 kB / 0.6001 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4551, allocations: 215.7 kB / 0.6003 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4552, allocations: 39.98 kB / 0.6004 GB, free: 11.88 MB / 446.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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0005773/0.4558, allocations: 235.6 kB / 0.6006 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.4561, allocations: 63.62 kB / 0.6007 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.4563, allocations: 108.7 kB / 0.6008 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4563, allocations: 12 kB / 0.6008 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4563, allocations: 7.938 kB / 0.6008 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4564, allocations: 3.984 kB / 0.6008 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.4683, allocations: 5.193 MB / 0.6058 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.4683, allocations: 23.98 kB / 0.6059 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.4698, allocations: 352 kB / 0.6062 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.493e-05/0.4698, allocations: 35.88 kB / 0.6062 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.501e-05/0.4699, allocations: 44 kB / 0.6063 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-05/0.47, allocations: 39.86 kB / 0.6063 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-05/0.47, allocations: 39.8 kB / 0.6064 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007047/0.477, allocations: 3.106 MB / 0.6094 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.4775, allocations: 167.4 kB / 0.6096 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4776, allocations: 51.98 kB / 0.6096 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.4789, allocations: 191.8 kB / 0.6098 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.4793, allocations: 219.2 kB / 0.61 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/0.4794, allocations: 56 kB / 0.61 GB, free: 1.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.4798, allocations: 275.1 kB / 0.6103 GB, free: 1.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4798, allocations: 0 / 0.6103 GB, free: 1.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4808, allocations: 228 kB / 0.6105 GB, free: 0.8203 MB / 446.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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.007618/0.4884, allocations: 3.675 MB / 0.6141 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006164/0.4946, allocations: 2.159 MB / 0.6162 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/0.4946, allocations: 4 kB / 0.6162 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.4981, allocations: 1.047 MB / 0.6173 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.4994, allocations: 153.3 kB / 0.6174 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/0.5267, allocations: 12.38 MB / 0.6295 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.5274, allocations: 0.928 MB / 0.6304 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.5285, allocations: 210.2 kB / 0.6306 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/0.5293, allocations: 219.4 kB / 0.6308 GB, free: 10.99 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5293, allocations: 0 / 0.6308 GB, free: 10.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/0.5845, allocations: 22.75 MB / 0.653 GB, free: 4.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.542/10.13, allocations: 7.438 kB / 0.653 GB, free: 4.297 MB / 494.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.15442746784538] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'integrator1.y', 'integrator2.y', 'integrator3.y'] 10.206897635012865 10.225823103 9.900746978 Calling exit ...