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.001153/0.001153, allocations: 96.28 kB / 15.69 MB, free: 480 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.001735/0.001735, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.649/1.649, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3732/0.3732, allocations: 43.54 MB / 314.5 MB, free: 8.75 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.0007546/0.0007548, allocations: 12 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.14, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002934/0.143, allocations: 2.579 MB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1445, allocations: 0.8586 MB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1447, allocations: 11.94 kB / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.919e-05/0.1448, allocations: 47.55 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.1452, allocations: 203.4 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1454, allocations: 79.91 kB / 446.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.1459, allocations: 419.1 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.1461, allocations: 136.7 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1463, allocations: 187.3 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1465, allocations: 207.1 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.1466, allocations: 24 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.1467, allocations: 24 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1467, allocations: 79.67 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1468, allocations: 121.5 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1472, allocations: 402.8 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1472, allocations: 0 / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1472, allocations: 0 / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1472, allocations: 4 kB / 448.2 MB, free: 7.613 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.0009505/0.1482, allocations: 0.682 MB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1482, allocations: 12.03 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/0.1483, allocations: 82.53 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.1484, allocations: 59.33 kB / 449 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1488, allocations: 305.3 kB / 449.3 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.1488, allocations: 37 kB / 449.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.1489, allocations: 55.89 kB / 449.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.1496, allocations: 426.6 kB / 449.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1496, allocations: 11.89 kB / 449.8 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.1496, allocations: 27.94 kB / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1497, allocations: 16 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1501, allocations: 308.5 kB / 450.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1517, allocations: 1.157 MB / 451.3 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.1524, allocations: 493 kB / 451.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1524, allocations: 4.438 kB / 451.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1525, allocations: 39 kB / 451.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.1525, allocations: 0 / 451.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002831/0.1553, allocations: 2.132 MB / 454 MB, free: 1.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1554, allocations: 85.67 kB / 454.1 MB, free: 1.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1556, allocations: 251 kB / 454.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1557, allocations: 41.7 kB / 454.4 MB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1558, allocations: 209 kB / 454.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.156, allocations: 268.1 kB / 454.8 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.156, allocations: 12 kB / 454.8 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1562, allocations: 358.8 kB / 455.2 MB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1564, allocations: 149.9 kB / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2079/0.3644, allocations: 271 kB / 455.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3647, allocations: 196 kB / 455.8 MB, free: 45.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3647, allocations: 5.109 kB / 455.8 MB, free: 45.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007578/0.3655, allocations: 0.5573 MB / 456.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3655, allocations: 5.344 kB / 456.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3655, allocations: 7.719 kB / 456.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3656, allocations: 10.78 kB / 456.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.3661, allocations: 176.8 kB / 456.6 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3661, allocations: 8.062 kB / 456.6 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.3664, allocations: 24.41 kB / 456.6 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.3664, allocations: 27.78 kB / 456.6 MB, free: 45.75 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.0001901/0.3666, allocations: 183.2 kB / 456.8 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3667, allocations: 49.95 kB / 456.8 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3669, allocations: 57.56 kB / 456.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3669, allocations: 5.719 kB / 456.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3669, allocations: 3.656 kB / 456.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3669, allocations: 5.688 kB / 456.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.3685, allocations: 1.446 MB / 458.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3685, allocations: 6.703 kB / 458.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.369, allocations: 164.5 kB / 458.5 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.3691, allocations: 5.344 kB / 458.5 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3691, allocations: 18.16 kB / 458.5 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3691, allocations: 6.094 kB / 458.6 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3691, allocations: 10.38 kB / 458.6 MB, free: 45.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.37, allocations: 1.042 MB / 459.6 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.3701, allocations: 121.9 kB / 459.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3701, allocations: 23.41 kB / 459.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3704, allocations: 15.59 kB / 459.8 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.3705, allocations: 46.92 kB / 459.8 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3705, allocations: 31.41 kB / 459.8 MB, free: 44.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3706, allocations: 171.2 kB / 460 MB, free: 44.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3706, allocations: 3.938 kB / 460 MB, free: 44.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005048/0.3712, allocations: 145.3 kB / 460.1 MB, free: 44.32 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.001202/0.3724, allocations: 2.436 MB / 462.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.3729, allocations: 443.3 kB / 463 MB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.373, allocations: 6.688 kB / 463 MB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3732, allocations: 233.4 kB / 463.3 MB, free: 42.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.3738, allocations: 108.5 kB / 463.4 MB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.3781, allocations: 5.126 MB / 468.5 MB, free: 38.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3784, allocations: 0.854 MB / 469.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.3786, allocations: 60.89 kB / 469.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3788, allocations: 166.3 kB / 469.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3788, allocations: 0 / 469.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.3998, allocations: 9.013 MB / 478.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.4, allocations: 195 kB / 478.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.359, allocations: 0 / 478.8 MB, free: 37.25 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