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.001822/0.001822, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00226/0.00226, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.549/1.549, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2318/0.2318, 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.003253/0.003253, allocations: 79.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3295, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004017/0.3336, allocations: 2.438 MB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3355, allocations: 0.9835 MB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.3357, allocations: 23.81 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.3361, allocations: 111.3 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3363, allocations: 99.31 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.3371, allocations: 299.5 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.3379, allocations: 0.7132 MB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3381, allocations: 51.22 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.3385, allocations: 311 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.339, allocations: 338.7 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.644e-05/0.3391, allocations: 64 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.3392, allocations: 60 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.3394, allocations: 199.4 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.3396, allocations: 242.7 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.3403, allocations: 0.5564 MB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3403, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3403, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3403, allocations: 3.938 kB / 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.002253/0.3425, allocations: 0.8714 MB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3426, allocations: 8.031 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.3427, allocations: 90.66 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3428, allocations: 68.61 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.3435, allocations: 317.1 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/0.3441, allocations: 0.6708 MB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.3442, allocations: 44.38 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.3463, allocations: 0.8085 MB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3463, allocations: 0 / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.3464, allocations: 20 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3464, allocations: 12 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.3499, allocations: 1.196 MB / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.3531, allocations: 2.003 MB / 0.5738 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.3561, allocations: 0.7738 MB / 0.5745 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.3575, allocations: 453.3 kB / 0.5749 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.3575, allocations: 4 kB / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.3576, allocations: 46.5 kB / 0.575 GB, free: 6.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 3.286e-06/0.3576, allocations: 0 / 0.575 GB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.0864/0.444, allocations: 15.48 MB / 0.5901 GB, free: 6.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.4441, allocations: 98.05 kB / 0.5902 GB, free: 6.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.4447, allocations: 385.5 kB / 0.5906 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.4449, allocations: 45.7 kB / 0.5906 GB, free: 5.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.4452, allocations: 225.5 kB / 0.5908 GB, free: 5.758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.4456, allocations: 416.4 kB / 0.5912 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/0.4462, allocations: 202.8 kB / 0.5914 GB, free: 5.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.4464, allocations: 370.8 kB / 0.5918 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.45, allocations: 1.342 MB / 0.5931 GB, free: 3.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.4538, allocations: 1.501 MB / 0.5945 GB, free: 1.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006746/0.4605, allocations: 2.436 MB / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4605, allocations: 0 / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007929/0.4685, allocations: 2.835 MB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4685, allocations: 4 kB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.4685, allocations: 4 kB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.4685, allocations: 12.23 kB / 0.5997 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.4713, allocations: 407.4 kB / 0.6001 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.4714, allocations: 15.88 kB / 0.6001 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.4733, allocations: 219.7 kB / 0.6003 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.4735, allocations: 39.98 kB / 0.6004 GB, free: 11.87 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.0005206/0.474, allocations: 235.6 kB / 0.6006 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4742, allocations: 63.62 kB / 0.6007 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.4745, allocations: 112.7 kB / 0.6008 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.4745, allocations: 12 kB / 0.6008 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.4745, allocations: 3.938 kB / 0.6008 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4745, allocations: 7.969 kB / 0.6008 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.4863, allocations: 5.197 MB / 0.6059 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.4864, allocations: 24.03 kB / 0.6059 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.4879, allocations: 347.4 kB / 0.6062 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.124e-05/0.4879, allocations: 32 kB / 0.6062 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.488, allocations: 51.98 kB / 0.6063 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.849e-05/0.4881, allocations: 39.86 kB / 0.6063 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.4881, allocations: 31.81 kB / 0.6064 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/0.4953, allocations: 3.106 MB / 0.6094 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.4958, allocations: 159.5 kB / 0.6095 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.4959, allocations: 51.98 kB / 0.6096 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.4972, allocations: 191.8 kB / 0.6098 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004924/0.4977, allocations: 223.2 kB / 0.61 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.4978, allocations: 56 kB / 0.61 GB, free: 1.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.4983, allocations: 267.1 kB / 0.6103 GB, free: 1.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4983, allocations: 0 / 0.6103 GB, free: 1.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4993, allocations: 228 kB / 0.6105 GB, free: 0.8242 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.007944/0.5073, allocations: 3.683 MB / 0.6141 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.5135, allocations: 2.155 MB / 0.6162 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/0.5135, allocations: 4 kB / 0.6162 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003372/0.5168, allocations: 1.055 MB / 0.6173 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.5182, allocations: 151.1 kB / 0.6174 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/0.5456, allocations: 12.38 MB / 0.6295 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.5463, allocations: 0.928 MB / 0.6304 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5474, allocations: 206 kB / 0.6306 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/0.5482, allocations: 219.4 kB / 0.6308 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.933e-06/0.5482, allocations: 4 kB / 0.6308 GB, free: 10.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.6049, allocations: 22.76 MB / 0.653 GB, free: 4.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.625/10.23, allocations: 3.562 kB / 0.653 GB, free: 4.281 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 & /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: 13.106693375855684] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'integrator1.y', 'integrator2.y', 'integrator3.y'] 10.316192117985338 10.333666385999999 9.989804282 Calling exit ...