Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 177.4 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.000876, allocations: 89.05 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3949/0.3949, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4445, allocations: 61.91 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5833, allocations: 88.38 MB / 0.5959 GB, free: 6.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5835, allocations: 71.94 kB / 0.596 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.6064, allocations: 8.77 MB / 0.6046 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6065, allocations: 3.938 kB / 0.6046 GB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.6065, allocations: 16 kB / 0.6046 GB, free: 13.84 MB / 426.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.0009518/0.6075, allocations: 0.6703 MB / 0.6053 GB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6075, allocations: 15.97 kB / 0.6053 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.871e-05/0.6076, allocations: 86.52 kB / 0.6053 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.6077, allocations: 55.34 kB / 0.6054 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.6081, allocations: 305.2 kB / 0.6057 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.6081, allocations: 37 kB / 0.6057 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.6082, allocations: 51.91 kB / 0.6058 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.6088, allocations: 426.6 kB / 0.6062 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6089, allocations: 11.91 kB / 0.6062 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.6089, allocations: 16 kB / 0.6062 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.6089, allocations: 16 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.6094, allocations: 316.4 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.6111, allocations: 1.154 MB / 0.6077 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/0.6118, allocations: 489.1 kB / 0.6081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.6118, allocations: 4.438 kB / 0.6081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6119, allocations: 39 kB / 0.6082 GB, free: 9.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.6119, allocations: 0 / 0.6082 GB, free: 9.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.003157/0.615, allocations: 2.134 MB / 0.6102 GB, free: 7.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.6151, allocations: 85.67 kB / 0.6103 GB, free: 7.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.6153, allocations: 226.2 kB / 0.6105 GB, free: 7.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.6154, allocations: 37.7 kB / 0.6106 GB, free: 7.297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.6155, allocations: 208.9 kB / 0.6108 GB, free: 7.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6158, allocations: 272 kB / 0.611 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.6158, allocations: 16 kB / 0.6111 GB, free: 6.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.616, allocations: 358.7 kB / 0.6114 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.6162, allocations: 153.9 kB / 0.6115 GB, free: 6.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.6165, allocations: 268.8 kB / 0.6118 GB, free: 5.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.6168, allocations: 199.2 kB / 0.612 GB, free: 5.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.6169, allocations: 4 kB / 0.612 GB, free: 5.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007831/0.6176, allocations: 0.5552 MB / 0.6125 GB, free: 5.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6177, allocations: 11.94 kB / 0.6125 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6177, allocations: 288 / 0.6125 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.6177, allocations: 12 kB / 0.6126 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.6183, allocations: 179.7 kB / 0.6127 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.6183, allocations: 8 kB / 0.6127 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.6185, allocations: 24.05 kB / 0.6128 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.6186, allocations: 28 kB / 0.6128 GB, free: 4.973 MB / 426.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.000202/0.6188, allocations: 182.1 kB / 0.613 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.6189, allocations: 47.44 kB / 0.613 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.619, allocations: 59.64 kB / 0.6131 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.619, allocations: 8 kB / 0.6131 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.619, allocations: 48 / 0.6131 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.619, allocations: 7.969 kB / 0.6131 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.6211, allocations: 1.454 MB / 0.6145 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6211, allocations: 4 kB / 0.6145 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.6217, allocations: 159.8 kB / 0.6147 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.518e-05/0.6218, allocations: 8 kB / 0.6147 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.6218, allocations: 16.34 kB / 0.6147 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.6218, allocations: 15.92 kB / 0.6147 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6218, allocations: 4 kB / 0.6147 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6231, allocations: 1.044 MB / 0.6157 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.6232, allocations: 116.5 kB / 0.6158 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.6233, allocations: 24 kB / 0.6159 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6236, allocations: 19.98 kB / 0.6159 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.6236, allocations: 52.28 kB / 0.6159 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.6237, allocations: 23.98 kB / 0.6159 GB, free: 1.477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6238, allocations: 174 kB / 0.6161 GB, free: 1.309 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6238, allocations: 0 / 0.6161 GB, free: 1.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004823/0.6243, allocations: 148 kB / 0.6162 GB, free: 1.164 MB / 426.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.001854/0.6262, allocations: 2.431 MB / 0.6186 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.6269, allocations: 451.5 kB / 0.6191 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6269, allocations: 0 / 0.6191 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.6272, allocations: 235.3 kB / 0.6193 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.6279, allocations: 109.1 kB / 0.6194 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.6335, allocations: 5.113 MB / 0.6244 GB, free: 8.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.634, allocations: 0.8643 MB / 0.6252 GB, free: 7.707 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.6342, allocations: 56.66 kB / 0.6253 GB, free: 7.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.6344, allocations: 171.4 kB / 0.6254 GB, free: 7.48 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6344, allocations: 0 / 0.6254 GB, free: 7.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.6578, allocations: 9.021 MB / 0.6342 GB, free: 14.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.6581, allocations: 190.5 kB / 0.6344 GB, free: 14.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.862, allocations: 0 / 0.6344 GB, free: 14.46 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat