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.001711/0.001711, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002194/0.002194, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 247 MB, free: 10.5 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.2395/0.2395, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002348/0.002348, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3724, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.0051/0.3775, allocations: 3.288 MB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3794, allocations: 0.8271 MB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.3798, allocations: 12.19 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3801, allocations: 74.11 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.3805, allocations: 173.7 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3808, allocations: 109.5 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000671/0.3815, allocations: 0.5927 MB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.3818, allocations: 183.4 kB / 0.5357 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.3821, allocations: 217.1 kB / 0.5359 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3825, allocations: 240.8 kB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.3825, allocations: 42.34 kB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.3826, allocations: 44.12 kB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3828, allocations: 106.4 kB / 0.5363 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.3831, allocations: 265.8 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.3838, allocations: 0.5638 MB / 0.5371 GB, free: 8.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3838, allocations: 4 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3838, allocations: 0 / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3838, allocations: 0 / 0.5371 GB, free: 8.336 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.001259/0.3851, allocations: 0.7591 MB / 0.5379 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3852, allocations: 17.64 kB / 0.5379 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.3853, allocations: 85.78 kB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3854, allocations: 56.3 kB / 0.538 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.3859, allocations: 326.9 kB / 0.5383 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.386, allocations: 35.97 kB / 0.5384 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/0.3861, allocations: 57.66 kB / 0.5384 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.3868, allocations: 436.3 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.3869, allocations: 19.09 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.3869, allocations: 20.31 kB / 0.5389 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3869, allocations: 11.91 kB / 0.5389 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.3875, allocations: 315.7 kB / 0.5392 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.3893, allocations: 1.151 MB / 0.5403 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.3901, allocations: 488.5 kB / 0.5408 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3904, allocations: 214.9 kB / 0.541 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3905, allocations: 6.312 kB / 0.541 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3905, allocations: 47.25 kB / 0.5411 GB, free: 5.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.384e-06/0.3905, allocations: 0 / 0.5411 GB, free: 5.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003322/0.3938, allocations: 2.144 MB / 0.5431 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.394, allocations: 89.33 kB / 0.5432 GB, free: 3.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.3943, allocations: 259.2 kB / 0.5435 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.3943, allocations: 41.27 kB / 0.5435 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3945, allocations: 207.9 kB / 0.5437 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.3947, allocations: 284.3 kB / 0.544 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3949, allocations: 126.7 kB / 0.5441 GB, free: 2.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3951, allocations: 361.7 kB / 0.5445 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.3954, allocations: 158.3 kB / 0.5446 GB, free: 2.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.3958, allocations: 273.7 kB / 0.5449 GB, free: 2.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.3965, allocations: 478.2 kB / 0.5453 GB, free: 2.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3965, allocations: 0 / 0.5453 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009301/0.3975, allocations: 0.5655 MB / 0.5459 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.3975, allocations: 8 kB / 0.5459 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3975, allocations: 288 / 0.5459 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.3976, allocations: 12 kB / 0.5459 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.3982, allocations: 183.7 kB / 0.5461 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.3982, allocations: 4 kB / 0.5461 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3985, allocations: 31.92 kB / 0.5461 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.3986, allocations: 24 kB / 0.5461 GB, free: 1.32 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.0002284/0.3988, allocations: 177.7 kB / 0.5463 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3989, allocations: 47.72 kB / 0.5463 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.399, allocations: 59.64 kB / 0.5464 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3991, allocations: 8 kB / 0.5464 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3991, allocations: 0 / 0.5464 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3991, allocations: 11.95 kB / 0.5464 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.4012, allocations: 1.433 MB / 0.5478 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.4013, allocations: 4.344 kB / 0.5478 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.402, allocations: 163.8 kB / 0.548 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.402, allocations: 4 kB / 0.548 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.4021, allocations: 19.94 kB / 0.548 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.4021, allocations: 8 kB / 0.548 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.4021, allocations: 7.938 kB / 0.548 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.4033, allocations: 0.9198 MB / 0.5489 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.4035, allocations: 120.8 kB / 0.549 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.4036, allocations: 23.98 kB / 0.549 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.4039, allocations: 12 kB / 0.5491 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.404, allocations: 48.38 kB / 0.5491 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.404, allocations: 31.94 kB / 0.5491 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.4042, allocations: 182 kB / 0.5493 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4042, allocations: 0 / 0.5493 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00059/0.4048, allocations: 148 kB / 0.5495 GB, free: 13.71 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.001578/0.4064, allocations: 1.464 MB / 0.5509 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.4072, allocations: 463.6 kB / 0.5513 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4072, allocations: 3.938 kB / 0.5513 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.4076, allocations: 235.5 kB / 0.5516 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.4085, allocations: 132.1 kB / 0.5517 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/0.4153, allocations: 4.788 MB / 0.5564 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.416, allocations: 0.8447 MB / 0.5572 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.4162, allocations: 56.66 kB / 0.5572 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4165, allocations: 163.4 kB / 0.5574 GB, free: 5.277 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4165, allocations: 3.938 kB / 0.5574 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.4565, allocations: 9.904 MB / 0.5671 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/9.846, allocations: 14.53 kB / 0.5671 GB, free: 11.57 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)