Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008513/0.0008513, allocations: 92.22 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.76e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5346, allocations: 88.7 MB / 0.5911 GB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.5348, allocations: 71.02 kB / 0.5911 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.5571, allocations: 8.78 MB / 0.5997 GB, free: 6.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5571, allocations: 0 / 0.5997 GB, free: 6.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.5572, allocations: 12 kB / 0.5997 GB, free: 6.656 MB / 394.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.0009378/0.5581, allocations: 0.6312 MB / 0.6003 GB, free: 6.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5582, allocations: 8.031 kB / 0.6004 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.5583, allocations: 59.34 kB / 0.6004 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.5586, allocations: 297.1 kB / 0.6007 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.5586, allocations: 16 kB / 0.6007 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.5587, allocations: 35.03 kB / 0.6007 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004418/0.5592, allocations: 277.4 kB / 0.601 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.5597, allocations: 352.1 kB / 0.6013 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.5598, allocations: 15.61 kB / 0.6014 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.5598, allocations: 0 / 0.6014 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5598, allocations: 12 kB / 0.6014 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.5612, allocations: 1.068 MB / 0.6024 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.5619, allocations: 453.8 kB / 0.6028 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.5621, allocations: 185.3 kB / 0.603 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5621, allocations: 8.656 kB / 0.603 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.5622, allocations: 41.56 kB / 0.6031 GB, free: 3.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.814e-06/0.5622, allocations: 4 kB / 0.6031 GB, free: 3.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.002353/0.5645, allocations: 1.82 MB / 0.6049 GB, free: 1.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.5646, allocations: 89.61 kB / 0.6049 GB, free: 1.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.5648, allocations: 194.1 kB / 0.6051 GB, free: 1.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5648, allocations: 25.7 kB / 0.6051 GB, free: 1.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.565, allocations: 208.3 kB / 0.6053 GB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.5651, allocations: 263.9 kB / 0.6056 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.5652, allocations: 0 / 0.6056 GB, free: 1.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5653, allocations: 347 kB / 0.6059 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.5655, allocations: 134.5 kB / 0.6061 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.5659, allocations: 242.4 kB / 0.6063 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5662, allocations: 178.9 kB / 0.6065 GB, free: 496 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5662, allocations: 0 / 0.6065 GB, free: 496 kB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006997/0.5669, allocations: 499.7 kB / 0.6069 GB, free: 96 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5669, allocations: 4 kB / 0.6069 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5669, allocations: 4.281 kB / 0.6069 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.5669, allocations: 12 kB / 0.607 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.5675, allocations: 182.5 kB / 0.6071 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.5676, allocations: 11.95 kB / 0.6071 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5678, allocations: 7.984 kB / 0.6071 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.5678, allocations: 26.94 kB / 0.6072 GB, free: 15.86 MB / 410.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 () * 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.0001226/0.568, allocations: 120.7 kB / 0.6073 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005293/0.5685, allocations: 382.5 kB / 0.6077 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.5686, allocations: 47.53 kB / 0.6077 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.5687, allocations: 47.31 kB / 0.6077 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5687, allocations: 8 kB / 0.6077 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5687, allocations: 0 / 0.6077 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.5687, allocations: 7.984 kB / 0.6078 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.5704, allocations: 1.315 MB / 0.609 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5704, allocations: 4 kB / 0.609 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.571, allocations: 158.7 kB / 0.6092 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.571, allocations: 4.344 kB / 0.6092 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.5711, allocations: 23.81 kB / 0.6092 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5711, allocations: 4 kB / 0.6092 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.5711, allocations: 4 kB / 0.6092 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.5721, allocations: 0.979 MB / 0.6102 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.5722, allocations: 116.6 kB / 0.6103 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.5722, allocations: 15.39 kB / 0.6103 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.5725, allocations: 11.92 kB / 0.6103 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.5726, allocations: 44.19 kB / 0.6104 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.5726, allocations: 23.25 kB / 0.6104 GB, free: 12.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5727, allocations: 156.1 kB / 0.6105 GB, free: 12.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5727, allocations: 0 / 0.6105 GB, free: 12.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.5732, allocations: 116 kB / 0.6106 GB, free: 12.6 MB / 410.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 () * 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.001476/0.5747, allocations: 2.358 MB / 0.613 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.5752, allocations: 401.6 kB / 0.6133 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5753, allocations: 3.938 kB / 0.6133 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.5755, allocations: 210.2 kB / 0.6135 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.5761, allocations: 84.41 kB / 0.6136 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.5787, allocations: 1.612 MB / 0.6152 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.5791, allocations: 0.8642 MB / 0.616 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.5793, allocations: 56.58 kB / 0.6161 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.5795, allocations: 169.8 kB / 0.6163 GB, free: 7.203 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5795, allocations: 0 / 0.6163 GB, free: 7.203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.6085, allocations: 8.432 MB / 0.6245 GB, free: 14.85 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6087, allocations: 160.3 kB / 0.6246 GB, free: 14.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.613, allocations: 0 / 0.6246 GB, free: 14.66 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat