Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.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.001375/0.001375, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001455/0.001455, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.292/1.292, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001808/0.001808, allocations: 67.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 53.32 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003178/0.2303, allocations: 2.244 MB / 431.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2315, allocations: 0.7555 MB / 432.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2316, allocations: 11.94 kB / 432.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2317, allocations: 47.52 kB / 432.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2319, allocations: 39.59 kB / 432.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.2322, allocations: 107.7 kB / 432.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.2324, allocations: 231.8 kB / 432.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.2326, allocations: 79.59 kB / 432.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2328, allocations: 107.5 kB / 433 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.233, allocations: 111.4 kB / 433.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.233, allocations: 20 kB / 433.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.2331, allocations: 35.98 kB / 433.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.2332, allocations: 51.83 kB / 433.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.2333, allocations: 115.3 kB / 433.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.2335, allocations: 247.2 kB / 433.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2336, allocations: 3.938 kB / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2336, allocations: 0 / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2336, allocations: 0 / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008152/0.2344, allocations: 0.5494 MB / 434.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2344, allocations: 12.03 kB / 434.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.2345, allocations: 54.73 kB / 434.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2346, allocations: 32.73 kB / 434.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.2348, allocations: 259.9 kB / 434.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2349, allocations: 16.81 kB / 434.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.2349, allocations: 24.38 kB / 434.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.2354, allocations: 254.8 kB / 434.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2354, allocations: 0 / 434.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.2354, allocations: 8 kB / 434.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.2354, allocations: 16.42 kB / 434.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.2358, allocations: 193.5 kB / 435 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2369, allocations: 0.8225 MB / 435.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2372, allocations: 174.5 kB / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2374, allocations: 99.98 kB / 436.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.2375, allocations: 93.45 kB / 436.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2376, allocations: 34.5 kB / 436.2 MB, free: 440 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.2376, allocations: 0 / 436.2 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001394/0.239, allocations: 0.7283 MB / 436.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.239, allocations: 55.34 kB / 437 MB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.2392, allocations: 225 kB / 437.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2392, allocations: 25.7 kB / 437.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.2393, allocations: 148.6 kB / 437.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.2394, allocations: 87.22 kB / 437.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.2395, allocations: 53.7 kB / 437.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2396, allocations: 330.8 kB / 437.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.2398, allocations: 83.94 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.24, allocations: 123.4 kB / 438 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.2404, allocations: 212.9 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2404, allocations: 0 / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005045/0.2409, allocations: 283.9 kB / 438.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2409, allocations: 4 kB / 438.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2409, allocations: 12 kB / 438.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2409, allocations: 3.984 kB / 438.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2412, allocations: 63.89 kB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2412, allocations: 4 kB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2413, allocations: 15.98 kB / 438.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2413, allocations: 7.984 kB / 438.6 MB, free: 13.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001282/0.2415, allocations: 141.7 kB / 438.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.2415, allocations: 23.86 kB / 438.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.2421, allocations: 303.1 kB / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2421, allocations: 4 kB / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2421, allocations: 0 / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2421, allocations: 0 / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2431, allocations: 0.6946 MB / 439.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2431, allocations: 0 / 439.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.2434, allocations: 51.91 kB / 439.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2434, allocations: 4 kB / 439.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2434, allocations: 4 kB / 439.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.2434, allocations: 7.938 kB / 439.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2434, allocations: 0 / 439.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.2442, allocations: 486.1 kB / 440.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2443, allocations: 121 kB / 440.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.2443, allocations: 11.94 kB / 440.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2444, allocations: 11.92 kB / 440.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2445, allocations: 23.97 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2445, allocations: 8 kB / 440.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2446, allocations: 164.4 kB / 440.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2446, allocations: 0 / 440.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.2449, allocations: 48 kB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001084/0.246, allocations: 1.026 MB / 441.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.2465, allocations: 207.8 kB / 441.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2465, allocations: 0 / 441.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.2467, allocations: 111.8 kB / 442 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.247, allocations: 31.19 kB / 442.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2503, allocations: 2.704 MB / 444.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.2507, allocations: 0.76 MB / 445.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.2508, allocations: 49.89 kB / 445.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2509, allocations: 87.41 kB / 445.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2509, allocations: 0 / 445.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.2804, allocations: 4.544 MB / 450.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.508, allocations: 6.344 kB / 450.2 MB, free: 2.09 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SinCosEncoder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SinCosEncoder.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.670124067997676]