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.001747/0.001747, allocations: 121.1 kB / 18.45 MB, free: 4.59 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.002123/0.002123, allocations: 213.7 kB / 21.41 MB, free: 1.641 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.43/1.43, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.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.2292/0.2292, allocations: 46.16 MB / 351.1 MB, free: 14.3 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.002295/0.002295, allocations: 77.8 kB / 489.7 MB, free: 28.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 62.45 MB / 0.5392 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004327/0.1372, allocations: 2.42 MB / 0.5415 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1393, allocations: 0.967 MB / 0.5425 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.1395, allocations: 15.81 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.14, allocations: 123.2 kB / 0.5426 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1402, allocations: 87.39 kB / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.1409, allocations: 287.5 kB / 0.543 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008881/0.1418, allocations: 0.721 MB / 0.5437 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.142, allocations: 69.28 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1425, allocations: 299.1 kB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.143, allocations: 330.7 kB / 0.5443 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.1431, allocations: 60 kB / 0.5444 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1432, allocations: 64 kB / 0.5445 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1434, allocations: 191.5 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.1437, allocations: 234.8 kB / 0.5449 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1444, allocations: 0.5525 MB / 0.5454 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1445, allocations: 0 / 0.5454 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.1445, allocations: 0 / 0.5454 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1445, allocations: 3.938 kB / 0.5454 GB, free: 14.36 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.002496/0.147, allocations: 0.9466 MB / 0.5463 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.147, allocations: 8.031 kB / 0.5463 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.1472, allocations: 90.7 kB / 0.5464 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1473, allocations: 68.55 kB / 0.5465 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.148, allocations: 379.4 kB / 0.5469 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.1484, allocations: 267.7 kB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.1485, allocations: 40.38 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.1508, allocations: 0.8163 MB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.1508, allocations: 7.922 kB / 0.548 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.1509, allocations: 20 kB / 0.548 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1509, allocations: 12 kB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.1547, allocations: 1.201 MB / 0.5492 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.1577, allocations: 2.027 MB / 0.5511 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.161, allocations: 0.8281 MB / 0.5519 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.1627, allocations: 493.3 kB / 0.5524 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.513e-05/0.1628, allocations: 11.98 kB / 0.5524 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1628, allocations: 42.5 kB / 0.5525 GB, free: 6.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.435e-06/0.1628, allocations: 0 / 0.5525 GB, free: 6.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09222/0.2551, allocations: 15.78 MB / 0.5679 GB, free: 6.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.2552, allocations: 94.17 kB / 0.568 GB, free: 6.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.2557, allocations: 397.5 kB / 0.5683 GB, free: 6.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.2559, allocations: 49.7 kB / 0.5684 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2561, allocations: 217.5 kB / 0.5686 GB, free: 6.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.2565, allocations: 420.4 kB / 0.569 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/0.2571, allocations: 202.8 kB / 0.5692 GB, free: 5.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2573, allocations: 370.8 kB / 0.5695 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/0.2613, allocations: 1.342 MB / 0.5709 GB, free: 3.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/0.2655, allocations: 1.501 MB / 0.5723 GB, free: 2.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007345/0.2729, allocations: 2.445 MB / 0.5747 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2729, allocations: 0 / 0.5747 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008555/0.2815, allocations: 2.83 MB / 0.5775 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.2815, allocations: 8 kB / 0.5775 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2816, allocations: 4 kB / 0.5775 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.2816, allocations: 11.98 kB / 0.5775 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.2845, allocations: 407.6 kB / 0.5779 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/0.2845, allocations: 15.88 kB / 0.5779 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.2866, allocations: 219.7 kB / 0.5781 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.2868, allocations: 43.98 kB / 0.5781 GB, free: 12.2 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.0005045/0.2873, allocations: 230.9 kB / 0.5784 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.2876, allocations: 59.62 kB / 0.5784 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2879, allocations: 108.7 kB / 0.5785 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2879, allocations: 12 kB / 0.5785 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2879, allocations: 3.938 kB / 0.5785 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.2879, allocations: 11.97 kB / 0.5786 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.3007, allocations: 5.228 MB / 0.5837 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/0.3008, allocations: 20.19 kB / 0.5837 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.3024, allocations: 351.4 kB / 0.584 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-05/0.3024, allocations: 28 kB / 0.584 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.3026, allocations: 52 kB / 0.5841 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.618e-05/0.3026, allocations: 47.78 kB / 0.5841 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.709e-05/0.3026, allocations: 35.81 kB / 0.5842 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007987/0.3106, allocations: 3.095 MB / 0.5872 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.3111, allocations: 244.6 kB / 0.5874 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.3112, allocations: 51.98 kB / 0.5875 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.3126, allocations: 191.8 kB / 0.5877 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/0.3131, allocations: 219.2 kB / 0.5879 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.3132, allocations: 56 kB / 0.5879 GB, free: 1.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003149/0.3135, allocations: 267.1 kB / 0.5882 GB, free: 1.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.422e-06/0.3135, allocations: 0 / 0.5882 GB, free: 1.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009687/0.3145, allocations: 235.9 kB / 0.5884 GB, free: 1.027 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.008299/0.3228, allocations: 3.692 MB / 0.592 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006966/0.3298, allocations: 2.379 MB / 0.5943 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/0.3299, allocations: 7.938 kB / 0.5943 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/0.3336, allocations: 1.067 MB / 0.5954 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.335, allocations: 146.1 kB / 0.5955 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2625/0.5974, allocations: 12.37 MB / 0.6076 GB, free: 61.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.598, allocations: 0.9256 MB / 0.6085 GB, free: 60.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001046/0.599, allocations: 201.7 kB / 0.6087 GB, free: 60.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/0.5997, allocations: 222.7 kB / 0.6089 GB, free: 60.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5997, allocations: 3.969 kB / 0.6089 GB, free: 60.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.6545, allocations: 21.6 MB / 0.63 GB, free: 52.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.397/10.05, allocations: 8.078 kB / 0.63 GB, free: 52.92 MB / 462.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.101359382970259] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'integrator1.y', 'integrator2.y', 'integrator3.y'] 10.129378336016089 10.141854294 9.995607466 Calling exit ...