Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 183.5 kB / 16.59 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3486/0.3486, allocations: 43.55 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009072/0.0009074, allocations: 18.97 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1355, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002934/0.1384, allocations: 2.788 MB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1395, allocations: 0.8193 MB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1397, allocations: 11.94 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1398, allocations: 43.62 kB / 446.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1401, allocations: 154.8 kB / 446.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1403, allocations: 79.92 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1407, allocations: 0.5519 MB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.141, allocations: 140.6 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1412, allocations: 179.3 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1414, allocations: 215 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1415, allocations: 20 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.1415, allocations: 24 kB / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1416, allocations: 79.67 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.1417, allocations: 117.5 kB / 448.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.142, allocations: 410.8 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.142, allocations: 3.938 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1421, allocations: 4 kB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1421, allocations: 0 / 448.5 MB, free: 7.312 MB / 382.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.000854/0.1429, allocations: 0.682 MB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.143, allocations: 8.031 kB / 449.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.1431, allocations: 94.45 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1431, allocations: 59.28 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1435, allocations: 301.3 kB / 449.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1435, allocations: 37 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.1436, allocations: 55.89 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.1442, allocations: 422.6 kB / 450.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.1442, allocations: 15.89 kB / 450.1 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.1443, allocations: 23.95 kB / 450.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1443, allocations: 12 kB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.1447, allocations: 320.4 kB / 450.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1462, allocations: 1.15 MB / 451.6 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.1469, allocations: 493.1 kB / 452.1 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1472, allocations: 207 kB / 452.3 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1472, allocations: 8.438 kB / 452.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1472, allocations: 46.94 kB / 452.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.593e-06/0.1472, allocations: 0 / 452.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.00267/0.1499, allocations: 2.128 MB / 454.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.15, allocations: 89.67 kB / 454.6 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1502, allocations: 251 kB / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1503, allocations: 41.7 kB / 454.9 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1504, allocations: 208.9 kB / 455.1 MB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.1506, allocations: 268.1 kB / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1506, allocations: 16 kB / 455.4 MB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2328/0.3834, allocations: 352.2 kB / 455.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3838, allocations: 161 kB / 455.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3841, allocations: 268.5 kB / 456.1 MB, free: 45.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3844, allocations: 202.8 kB / 456.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3844, allocations: 0 / 456.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007657/0.3852, allocations: 0.562 MB / 456.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3852, allocations: 5.469 kB / 456.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3852, allocations: 5.562 kB / 456.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.3852, allocations: 5.406 kB / 456.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.3858, allocations: 183.1 kB / 457.1 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3858, allocations: 9.688 kB / 457.1 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.386, allocations: 28.36 kB / 457.1 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.3861, allocations: 22.19 kB / 457.1 MB, free: 45.8 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.3863, allocations: 181.1 kB / 457.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3863, allocations: 45.84 kB / 457.4 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3865, allocations: 56.67 kB / 457.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3865, allocations: 5.375 kB / 457.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.3865, allocations: 9.875 kB / 457.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3865, allocations: 6 kB / 457.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.388, allocations: 1.443 MB / 458.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.388, allocations: 2.688 kB / 458.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.3885, allocations: 157.3 kB / 459 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3886, allocations: 6.281 kB / 459 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3886, allocations: 19.84 kB / 459.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3886, allocations: 5.938 kB / 459.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3886, allocations: 2.875 kB / 459.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/0.3894, allocations: 0.9125 MB / 460 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.3895, allocations: 115.8 kB / 460.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3896, allocations: 18.03 kB / 460.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3898, allocations: 22.2 kB / 460.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.3899, allocations: 55.05 kB / 460.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3899, allocations: 20.88 kB / 460.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.39, allocations: 174.8 kB / 460.4 MB, free: 44.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.39, allocations: 0 / 460.4 MB, free: 44.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.3905, allocations: 147.1 kB / 460.5 MB, free: 44.56 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.3915, allocations: 1.476 MB / 462 MB, free: 43.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.3921, allocations: 451.7 kB / 462.4 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3921, allocations: 3.844 kB / 462.4 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3923, allocations: 235.1 kB / 462.7 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.3931, allocations: 118.6 kB / 462.8 MB, free: 43.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3969, allocations: 3.475 MB / 466.3 MB, free: 41.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3972, allocations: 0.8492 MB / 467.1 MB, free: 41.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.3974, allocations: 60.25 kB / 467.2 MB, free: 41.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3976, allocations: 166.7 kB / 467.3 MB, free: 41.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3976, allocations: 0 / 467.3 MB, free: 41.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.4185, allocations: 9.036 MB / 476.4 MB, free: 40.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.4187, allocations: 204.5 kB / 476.6 MB, free: 40.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.286, allocations: 0 / 476.6 MB, free: 40.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat