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.001587/0.001593, allocations: 122 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.0015/0.0015, allocations: 211.3 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.472/1.472, 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.2204/0.2204, allocations: 46.15 MB / 351.1 MB, free: 14.31 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.0023/0.0023, allocations: 77.64 kB / 489.6 MB, free: 28.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1166, allocations: 62.46 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003831/0.1204, allocations: 2.414 MB / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1224, allocations: 0.9748 MB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1226, allocations: 11.88 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.123, allocations: 115.2 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1232, allocations: 95.33 kB / 0.5427 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.1239, allocations: 287.5 kB / 0.543 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.1247, allocations: 0.7132 MB / 0.5437 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1249, allocations: 81.25 kB / 0.5437 GB, free: 80 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.1252, allocations: 299.1 kB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.1257, allocations: 330.8 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.965e-05/0.1258, allocations: 60 kB / 0.5444 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.1259, allocations: 64 kB / 0.5445 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.1261, allocations: 179.5 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1263, allocations: 242.7 kB / 0.5449 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.1269, allocations: 0.5525 MB / 0.5454 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.127, allocations: 0 / 0.5454 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.127, allocations: 0 / 0.5454 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.127, allocations: 0 / 0.5454 GB, free: 14.37 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.002372/0.1294, allocations: 0.9505 MB / 0.5463 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1294, allocations: 12.03 kB / 0.5463 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1295, allocations: 90.66 kB / 0.5464 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1297, allocations: 64.61 kB / 0.5465 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.1303, allocations: 379.4 kB / 0.5468 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.1307, allocations: 267.7 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.1308, allocations: 48.31 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.133, allocations: 0.8046 MB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.133, allocations: 7.938 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.1331, allocations: 20 kB / 0.548 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1331, allocations: 8 kB / 0.548 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.1368, allocations: 1.201 MB / 0.5491 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.1399, allocations: 2.031 MB / 0.5511 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.1431, allocations: 0.8281 MB / 0.5519 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.1448, allocations: 489.3 kB / 0.5524 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.1449, allocations: 12 kB / 0.5524 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1449, allocations: 42.5 kB / 0.5524 GB, free: 6.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.816e-06/0.1449, allocations: 4 kB / 0.5525 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09104/0.236, allocations: 15.78 MB / 0.5679 GB, free: 6.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.2361, allocations: 94.17 kB / 0.568 GB, free: 6.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.2366, allocations: 393.5 kB / 0.5683 GB, free: 6.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.2368, allocations: 45.7 kB / 0.5684 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.237, allocations: 225.5 kB / 0.5686 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.2374, allocations: 416.4 kB / 0.569 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005814/0.238, allocations: 198.8 kB / 0.5692 GB, free: 5.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2382, allocations: 374.8 kB / 0.5695 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/0.2421, allocations: 1.342 MB / 0.5708 GB, free: 3.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.2462, allocations: 1.501 MB / 0.5723 GB, free: 2.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007244/0.2534, allocations: 2.441 MB / 0.5747 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2535, allocations: 0 / 0.5747 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008235/0.2617, allocations: 2.834 MB / 0.5775 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2617, allocations: 4 kB / 0.5775 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2618, allocations: 4 kB / 0.5775 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.2618, allocations: 8 kB / 0.5775 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.2646, allocations: 411.6 kB / 0.5779 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.2646, allocations: 19.86 kB / 0.5779 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.2666, allocations: 215.7 kB / 0.5781 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.2668, allocations: 43.98 kB / 0.5781 GB, free: 12.22 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.0004663/0.2673, allocations: 230.9 kB / 0.5784 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.2675, allocations: 63.62 kB / 0.5784 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.2678, allocations: 112.7 kB / 0.5785 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.2678, allocations: 12 kB / 0.5785 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2678, allocations: 3.938 kB / 0.5785 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2679, allocations: 3.984 kB / 0.5785 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.28, allocations: 5.228 MB / 0.5836 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/0.2801, allocations: 20.19 kB / 0.5837 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.2816, allocations: 355.4 kB / 0.584 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.128e-05/0.2817, allocations: 31.94 kB / 0.584 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.2818, allocations: 52 kB / 0.5841 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-05/0.2818, allocations: 35.86 kB / 0.5841 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-05/0.2819, allocations: 35.81 kB / 0.5842 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007815/0.2897, allocations: 3.098 MB / 0.5872 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.2902, allocations: 244.6 kB / 0.5874 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2903, allocations: 51.98 kB / 0.5875 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.2917, allocations: 187.8 kB / 0.5876 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/0.2921, allocations: 215.2 kB / 0.5878 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/0.2922, allocations: 60 kB / 0.5879 GB, free: 1.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.2926, allocations: 271.1 kB / 0.5882 GB, free: 1.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2926, allocations: 0 / 0.5882 GB, free: 1.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009661/0.2935, allocations: 228 kB / 0.5884 GB, free: 1.051 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.008191/0.3017, allocations: 3.696 MB / 0.592 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00693/0.3087, allocations: 2.39 MB / 0.5943 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-05/0.3087, allocations: 4 kB / 0.5943 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.3124, allocations: 1.067 MB / 0.5954 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.3137, allocations: 139.9 kB / 0.5955 GB, free: 9.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2725/0.5862, allocations: 12.38 MB / 0.6076 GB, free: 61.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.5869, allocations: 0.9256 MB / 0.6085 GB, free: 60.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.5881, allocations: 206.8 kB / 0.6087 GB, free: 60.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/0.5888, allocations: 220.4 kB / 0.6089 GB, free: 60.36 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5888, allocations: 0 / 0.6089 GB, free: 60.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.6493, allocations: 21.6 MB / 0.63 GB, free: 52.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.095/9.744, allocations: 8.453 kB / 0.63 GB, free: 52.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --stepSize=0.000598444 --timeout=50 --tolerance=1e-06 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: 12.609302148921415] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'integrator1.y', 'integrator2.y', 'integrator3.y'] 9.822167186066508 9.83504773 9.705751034 Calling exit ...