Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01291/0.01291, allocations: 173.3 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.112/2.112, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002098/0.002098, allocations: 116.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2569/0.2569, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000621/0.000621, allocations: 17.53 kB / 406.3 MB, free: 51.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1343, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.2841, allocations: 82.3 MB / 0.5307 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.2844, allocations: 71.91 kB / 0.5308 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3242/0.6086, allocations: 8.403 MB / 0.539 GB, free: 82.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6087, allocations: 0 / 0.539 GB, free: 82.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.6087, allocations: 13.62 kB / 0.539 GB, free: 82.46 MB / 378.7 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.001388/0.6101, allocations: 0.6672 MB / 0.5396 GB, free: 81.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6102, allocations: 9.031 kB / 0.5396 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.6104, allocations: 94.56 kB / 0.5397 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.6105, allocations: 55 kB / 0.5398 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.611, allocations: 290.1 kB / 0.5401 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.6111, allocations: 33.72 kB / 0.5401 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6112, allocations: 59.05 kB / 0.5402 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6124, allocations: 427.4 kB / 0.5406 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.244e-05/0.6125, allocations: 13.14 kB / 0.5406 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6126, allocations: 23.08 kB / 0.5406 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.6126, allocations: 11.41 kB / 0.5406 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.6134, allocations: 313.8 kB / 0.5409 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.616, allocations: 1.157 MB / 0.542 GB, free: 80.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/0.617, allocations: 490.9 kB / 0.5425 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.6171, allocations: 5.938 kB / 0.5425 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6171, allocations: 39.12 kB / 0.5425 GB, free: 80.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 4.579e-06/0.6171, allocations: 0 / 0.5425 GB, free: 80.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004325/0.6215, allocations: 2.128 MB / 0.5446 GB, free: 78.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6215, allocations: 85.64 kB / 0.5447 GB, free: 78.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.6219, allocations: 226.8 kB / 0.5449 GB, free: 78.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.6219, allocations: 40.58 kB / 0.545 GB, free: 78.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.6221, allocations: 203.4 kB / 0.5452 GB, free: 78.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.6223, allocations: 270.9 kB / 0.5454 GB, free: 78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.6224, allocations: 20 kB / 0.5454 GB, free: 77.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.6225, allocations: 352.5 kB / 0.5458 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.6229, allocations: 155.2 kB / 0.5459 GB, free: 77.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.6234, allocations: 272.5 kB / 0.5462 GB, free: 77.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.6239, allocations: 199.5 kB / 0.5464 GB, free: 77.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6239, allocations: 1.062 kB / 0.5464 GB, free: 77.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001316/0.6253, allocations: 0.5654 MB / 0.5469 GB, free: 76.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.6253, allocations: 7.188 kB / 0.5469 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6253, allocations: 2.469 kB / 0.5469 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.6254, allocations: 11 kB / 0.5469 GB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6265, allocations: 176.4 kB / 0.5471 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.6266, allocations: 10.47 kB / 0.5471 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.6272, allocations: 21.44 kB / 0.5471 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.6272, allocations: 26.59 kB / 0.5472 GB, free: 76.93 MB / 378.7 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.0003218/0.6276, allocations: 184.3 kB / 0.5473 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.6277, allocations: 50.05 kB / 0.5474 GB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.6279, allocations: 58.11 kB / 0.5474 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.6279, allocations: 8.344 kB / 0.5474 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.6279, allocations: 4 kB / 0.5475 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6279, allocations: 5.141 kB / 0.5475 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6309, allocations: 1.453 MB / 0.5489 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.631, allocations: 3.531 kB / 0.5489 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.6323, allocations: 157 kB / 0.549 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/0.6324, allocations: 6.125 kB / 0.549 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.6324, allocations: 19.91 kB / 0.5491 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.6325, allocations: 13.7 kB / 0.5491 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.6325, allocations: 3.281 kB / 0.5491 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.6344, allocations: 1.045 MB / 0.5501 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.6347, allocations: 116.9 kB / 0.5502 GB, free: 74.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6348, allocations: 25.39 kB / 0.5502 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.6353, allocations: 19.06 kB / 0.5502 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6354, allocations: 51.7 kB / 0.5503 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.6355, allocations: 19.25 kB / 0.5503 GB, free: 74.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000262/0.6357, allocations: 174.9 kB / 0.5505 GB, free: 74.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6357, allocations: 0.5938 kB / 0.5505 GB, free: 74.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008637/0.6366, allocations: 155.8 kB / 0.5506 GB, free: 74.36 MB / 378.7 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.001962/0.6386, allocations: 2.44 MB / 0.553 GB, free: 72.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.6397, allocations: 441.6 kB / 0.5534 GB, free: 72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6397, allocations: 3.625 kB / 0.5534 GB, free: 72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.6401, allocations: 233.3 kB / 0.5537 GB, free: 71.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6413, allocations: 112.1 kB / 0.5538 GB, free: 71.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.6482, allocations: 5.112 MB / 0.5588 GB, free: 66.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.6486, allocations: 0.8644 MB / 0.5596 GB, free: 65.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.649, allocations: 56.66 kB / 0.5597 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.6493, allocations: 167.4 kB / 0.5598 GB, free: 65.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6493, allocations: 0 / 0.5598 GB, free: 65.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.6826, allocations: 9.029 MB / 0.5686 GB, free: 56.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.6829, allocations: 192.7 kB / 0.5688 GB, free: 56.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.649, allocations: 0 / 0.5688 GB, free: 56.17 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat