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.001632/0.001632, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001753/0.001753, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.319/1.319, allocations: 230.2 MB / 256.2 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] 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.2054/0.2054, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.002137/0.002137, allocations: 83.84 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4084, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003571/0.4119, allocations: 2.423 MB / 0.5608 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.4137, allocations: 0.9874 MB / 0.5617 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.4139, allocations: 15.88 kB / 0.5617 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.4143, allocations: 111.3 kB / 0.5619 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.4145, allocations: 103.3 kB / 0.562 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.4152, allocations: 291.4 kB / 0.5622 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.4159, allocations: 0.7171 MB / 0.5629 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.416, allocations: 46.89 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.4164, allocations: 303 kB / 0.5633 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.4168, allocations: 334.7 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.031e-05/0.4168, allocations: 64 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.4169, allocations: 60 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.4171, allocations: 203.4 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.4173, allocations: 242.7 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.4179, allocations: 0.5564 MB / 0.5647 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4179, allocations: 0 / 0.5647 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4179, allocations: 0 / 0.5647 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.4179, allocations: 0 / 0.5647 GB, free: 14.76 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.00217/0.42, allocations: 0.9504 MB / 0.5656 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4201, allocations: 8.031 kB / 0.5656 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.4202, allocations: 86.72 kB / 0.5657 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.4203, allocations: 68.61 kB / 0.5658 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.4208, allocations: 391.3 kB / 0.5661 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.4212, allocations: 263.7 kB / 0.5664 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4213, allocations: 44.36 kB / 0.5664 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4233, allocations: 0.8124 MB / 0.5672 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4233, allocations: 0 / 0.5672 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.4234, allocations: 16 kB / 0.5672 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.4234, allocations: 12 kB / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.4269, allocations: 1.201 MB / 0.5684 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.4296, allocations: 2.027 MB / 0.5704 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.4326, allocations: 0.7738 MB / 0.5712 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.4341, allocations: 462.4 kB / 0.5716 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.4342, allocations: 11.98 kB / 0.5716 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4342, allocations: 42.5 kB / 0.5716 GB, free: 7.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 1.723e-06/0.4342, allocations: 0 / 0.5716 GB, free: 7.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08681/0.521, allocations: 15.77 MB / 0.587 GB, free: 7.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.5211, allocations: 94.17 kB / 0.5871 GB, free: 7.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.5216, allocations: 393.5 kB / 0.5875 GB, free: 6.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.5217, allocations: 45.64 kB / 0.5876 GB, free: 6.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5219, allocations: 221.6 kB / 0.5878 GB, free: 6.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.5223, allocations: 424.4 kB / 0.5882 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.5228, allocations: 202.8 kB / 0.5884 GB, free: 5.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.523, allocations: 374.8 kB / 0.5887 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.5268, allocations: 1.342 MB / 0.59 GB, free: 4.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/0.5306, allocations: 1.493 MB / 0.5915 GB, free: 2.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.5374, allocations: 2.438 MB / 0.5939 GB, free: 244 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5375, allocations: 4 kB / 0.5939 GB, free: 240 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007898/0.5454, allocations: 2.834 MB / 0.5966 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5454, allocations: 4 kB / 0.5966 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5454, allocations: 7.938 kB / 0.5967 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5454, allocations: 8.25 kB / 0.5967 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.5481, allocations: 407.4 kB / 0.597 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.5481, allocations: 15.88 kB / 0.5971 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.55, allocations: 219.7 kB / 0.5973 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.5502, allocations: 40 kB / 0.5973 GB, free: 12.7 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.0004722/0.5507, allocations: 234.8 kB / 0.5975 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.5509, allocations: 59.62 kB / 0.5976 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.5512, allocations: 116.7 kB / 0.5977 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.5512, allocations: 12 kB / 0.5977 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5512, allocations: 3.938 kB / 0.5977 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5512, allocations: 7.969 kB / 0.5977 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.5631, allocations: 5.228 MB / 0.6028 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.5631, allocations: 24.03 kB / 0.6029 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.5647, allocations: 355.4 kB / 0.6032 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-05/0.5647, allocations: 32 kB / 0.6032 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5648, allocations: 52 kB / 0.6033 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-05/0.5648, allocations: 35.86 kB / 0.6033 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.221e-05/0.5649, allocations: 35.81 kB / 0.6033 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007477/0.5723, allocations: 3.098 MB / 0.6064 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5727, allocations: 240.6 kB / 0.6066 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5728, allocations: 55.97 kB / 0.6066 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.5741, allocations: 187.8 kB / 0.6068 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.5746, allocations: 215.2 kB / 0.607 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5747, allocations: 60 kB / 0.6071 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.575, allocations: 263.1 kB / 0.6073 GB, free: 1.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.575, allocations: 0 / 0.6073 GB, free: 1.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001038/0.576, allocations: 228 kB / 0.6076 GB, free: 1.535 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.007937/0.584, allocations: 3.685 MB / 0.6112 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006347/0.5903, allocations: 2.168 MB / 0.6133 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.5903, allocations: 4 kB / 0.6133 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.5937, allocations: 1.051 MB / 0.6143 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5949, allocations: 151.8 kB / 0.6144 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.6228, allocations: 12.38 MB / 0.6265 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.6235, allocations: 0.9242 MB / 0.6274 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009691/0.6245, allocations: 210.2 kB / 0.6276 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/0.6252, allocations: 219.4 kB / 0.6279 GB, free: 11.69 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6252, allocations: 4 kB / 0.6279 GB, free: 11.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05234/0.6775, allocations: 22.06 MB / 0.6494 GB, free: 5.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.992, allocations: 6.094 kB / 0.6494 GB, free: 5.684 MB / 494.1 MB " [Timeout remaining time 651] (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: 11.53696028899867]