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.00137/0.00137, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247 MB, free: 10.39 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.2425/0.2425, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002386/0.002386, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3638, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004638/0.3685, allocations: 3.28 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3704, allocations: 0.8354 MB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.3708, allocations: 7.438 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.371, allocations: 75.06 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.3715, allocations: 177.7 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3717, allocations: 110.2 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.3724, allocations: 0.5962 MB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3727, allocations: 171.6 kB / 0.5357 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.373, allocations: 216.2 kB / 0.5359 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.3733, allocations: 236.5 kB / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.3734, allocations: 42.66 kB / 0.5362 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.3735, allocations: 48.78 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.3736, allocations: 105.8 kB / 0.5363 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.3739, allocations: 270.3 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.3746, allocations: 0.5587 MB / 0.5371 GB, free: 8.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3746, allocations: 1.062 kB / 0.5371 GB, free: 8.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3746, allocations: 0 / 0.5371 GB, free: 8.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3746, allocations: 0 / 0.5371 GB, free: 8.348 MB / 398.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.001231/0.3759, allocations: 0.767 MB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3759, allocations: 9.281 kB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.376, allocations: 90.45 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3761, allocations: 60.2 kB / 0.538 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.3767, allocations: 323.1 kB / 0.5383 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3767, allocations: 40.06 kB / 0.5384 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.3768, allocations: 60.67 kB / 0.5384 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.3775, allocations: 435.9 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.3776, allocations: 16.41 kB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3776, allocations: 15.78 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3776, allocations: 11.19 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.3781, allocations: 319.7 kB / 0.5392 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.38, allocations: 1.152 MB / 0.5403 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.3808, allocations: 488.5 kB / 0.5408 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.3811, allocations: 217.9 kB / 0.541 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3812, allocations: 7.156 kB / 0.541 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3812, allocations: 46.16 kB / 0.541 GB, free: 5.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 3.416e-06/0.3812, allocations: 3.938 kB / 0.5411 GB, free: 5.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003347/0.3846, allocations: 2.134 MB / 0.5431 GB, free: 3.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.3847, allocations: 88.52 kB / 0.5432 GB, free: 3.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.385, allocations: 260.3 kB / 0.5435 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.385, allocations: 36.17 kB / 0.5435 GB, free: 3.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.3852, allocations: 219.7 kB / 0.5437 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3854, allocations: 280.5 kB / 0.544 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.3856, allocations: 124.2 kB / 0.5441 GB, free: 2.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3858, allocations: 359.9 kB / 0.5444 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.3861, allocations: 155.2 kB / 0.5446 GB, free: 2.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3864, allocations: 277.9 kB / 0.5449 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.3871, allocations: 470.1 kB / 0.5453 GB, free: 2.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3871, allocations: 1.062 kB / 0.5453 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009282/0.3881, allocations: 0.5766 MB / 0.5459 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3881, allocations: 10.34 kB / 0.5459 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3881, allocations: 0 / 0.5459 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3881, allocations: 8 kB / 0.5459 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.3887, allocations: 179.7 kB / 0.5461 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3888, allocations: 8 kB / 0.5461 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3891, allocations: 23.94 kB / 0.5461 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3892, allocations: 32.22 kB / 0.5461 GB, free: 1.281 MB / 398.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.0002376/0.3894, allocations: 181.6 kB / 0.5463 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3895, allocations: 47.72 kB / 0.5463 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.3897, allocations: 55.64 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3897, allocations: 8 kB / 0.5464 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.3897, allocations: 0 / 0.5464 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3897, allocations: 7.922 kB / 0.5464 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.3919, allocations: 1.444 MB / 0.5478 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.3919, allocations: 7.984 kB / 0.5478 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.3926, allocations: 155.8 kB / 0.548 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.3926, allocations: 8 kB / 0.548 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.3927, allocations: 23.94 kB / 0.548 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.3927, allocations: 4 kB / 0.548 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.3927, allocations: 7.938 kB / 0.548 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.394, allocations: 0.9122 MB / 0.5489 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.3942, allocations: 124.8 kB / 0.549 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.3942, allocations: 20 kB / 0.549 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.3945, allocations: 23.92 kB / 0.5491 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.3946, allocations: 48.31 kB / 0.5491 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.3947, allocations: 27.94 kB / 0.5491 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.3948, allocations: 174 kB / 0.5493 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3948, allocations: 0 / 0.5493 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.3954, allocations: 148 kB / 0.5494 GB, free: 13.67 MB / 414.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.001595/0.397, allocations: 1.468 MB / 0.5509 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000831/0.3979, allocations: 460 kB / 0.5513 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3979, allocations: 4.125 kB / 0.5513 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.3983, allocations: 238.2 kB / 0.5515 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3993, allocations: 125.7 kB / 0.5517 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.4061, allocations: 4.784 MB / 0.5563 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.4068, allocations: 0.8485 MB / 0.5572 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.4071, allocations: 64.59 kB / 0.5572 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.4073, allocations: 167.4 kB / 0.5574 GB, free: 5.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4074, allocations: 0 / 0.5574 GB, free: 5.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.4466, allocations: 9.901 MB / 0.5671 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/9.564, allocations: 20.58 kB / 0.5671 GB, free: 11.52 MB / 430.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)