Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2665/0.2665, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB 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.002667/0.002667, allocations: 73.22 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1135, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004637/0.1182, allocations: 3.282 MB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1197, allocations: 0.8338 MB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1199, allocations: 11.94 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1201, allocations: 79.17 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1204, allocations: 170.5 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1206, allocations: 111.8 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.1212, allocations: 0.5832 MB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.1215, allocations: 185.2 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1218, allocations: 211.3 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.122, allocations: 239 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.1221, allocations: 40 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.1222, allocations: 51.94 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.1223, allocations: 107.6 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1225, allocations: 274.7 kB / 486.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.123, allocations: 0.5411 MB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1231, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1231, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1231, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001151/0.1242, allocations: 0.7562 MB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1243, allocations: 12.03 kB / 487.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1244, allocations: 86.7 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.1245, allocations: 56.31 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1249, allocations: 314.5 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.1249, allocations: 37.38 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.125, allocations: 56.27 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.1257, allocations: 442.7 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.1257, allocations: 15.81 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.1258, allocations: 16 kB / 488.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1258, allocations: 12 kB / 488.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.1263, allocations: 316.5 kB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1281, allocations: 1.153 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1289, allocations: 492.9 kB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1292, allocations: 207 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1292, allocations: 4.438 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1293, allocations: 50.97 kB / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.643e-06/0.1293, allocations: 0 / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.003077/0.1324, allocations: 2.131 MB / 493 MB, free: 7.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.1325, allocations: 89.61 kB / 493.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.1327, allocations: 254.9 kB / 493.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1328, allocations: 37.7 kB / 493.4 MB, free: 7.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.133, allocations: 217 kB / 493.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.1332, allocations: 268.1 kB / 493.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1334, allocations: 122.7 kB / 494 MB, free: 6.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1335, allocations: 354.7 kB / 494.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1339, allocations: 157.9 kB / 494.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.1342, allocations: 284.8 kB / 494.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.1349, allocations: 458.8 kB / 495.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1349, allocations: 4 kB / 495.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008807/0.1358, allocations: 0.5671 MB / 495.8 MB, free: 4.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1358, allocations: 4 kB / 495.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1358, allocations: 4 kB / 495.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1359, allocations: 11.98 kB / 495.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.1365, allocations: 175.7 kB / 496 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1365, allocations: 7.938 kB / 496 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1368, allocations: 31.92 kB / 496 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.1368, allocations: 24 kB / 496 MB, free: 4.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0002007/0.137, allocations: 189.7 kB / 496.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.1371, allocations: 43.53 kB / 496.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1372, allocations: 51.7 kB / 496.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.1373, allocations: 12 kB / 496.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/0.1373, allocations: 4 kB / 496.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1373, allocations: 7.922 kB / 496.3 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.1393, allocations: 1.442 MB / 497.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1394, allocations: 4 kB / 497.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.14, allocations: 160.1 kB / 497.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.14, allocations: 8 kB / 497.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.1401, allocations: 27.88 kB / 498 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1401, allocations: 4 kB / 498 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.1401, allocations: 11.92 kB / 498 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.1414, allocations: 0.9037 MB / 498.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1415, allocations: 124.5 kB / 499 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.1416, allocations: 23.98 kB / 499 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.1419, allocations: 16 kB / 499 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.142, allocations: 40.38 kB / 499.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.142, allocations: 27.94 kB / 499.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.1422, allocations: 185.9 kB / 499.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1422, allocations: 0 / 499.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.1428, allocations: 148 kB / 499.4 MB, free: 1.141 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.001558/0.1444, allocations: 1.464 MB / 0.4892 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.1453, allocations: 483.8 kB / 0.4896 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1453, allocations: 0 / 0.4896 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.1456, allocations: 236.1 kB / 0.4898 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.1466, allocations: 132.3 kB / 0.49 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007571/0.1542, allocations: 4.802 MB / 0.4947 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.1548, allocations: 0.8562 MB / 0.4955 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.155, allocations: 56.66 kB / 0.4956 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.1553, allocations: 175.3 kB / 0.4957 GB, free: 8.648 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1553, allocations: 0 / 0.4957 GB, free: 8.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.3942, allocations: 9.683 MB / 0.5052 GB, free: 41.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.51, allocations: 10.09 kB / 0.5052 GB, free: 41.26 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)