Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008871/0.000887, allocations: 85.77 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.234e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 63.25 MB / 0.5114 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5807, allocations: 87.16 MB / 0.5966 GB, free: 6.699 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5809, allocations: 67.89 kB / 0.5966 GB, free: 6.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006573/0.5875, allocations: 2.687 MB / 0.5993 GB, free: 4.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5876, allocations: 0 / 0.5993 GB, free: 4.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.5876, allocations: 4 kB / 0.5993 GB, free: 4.398 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004427/0.588, allocations: 405 kB / 0.5996 GB, free: 3.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5881, allocations: 15.97 kB / 0.5997 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.5881, allocations: 48.48 kB / 0.5997 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.5882, allocations: 19.81 kB / 0.5997 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.5883, allocations: 188.6 kB / 0.5999 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5883, allocations: 11.88 kB / 0.5999 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.5884, allocations: 19.81 kB / 0.5999 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.5887, allocations: 164 kB / 0.6001 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5887, allocations: 3.906 kB / 0.6001 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.5887, allocations: 6.188 kB / 0.6001 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5887, allocations: 4 kB / 0.6001 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.5889, allocations: 83.8 kB / 0.6002 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.5896, allocations: 0.6111 MB / 0.6008 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.5898, allocations: 130.2 kB / 0.6009 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.5899, allocations: 47.28 kB / 0.6009 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.5899, allocations: 7.984 kB / 0.601 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.5899, allocations: 42.12 kB / 0.601 GB, free: 2.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5899, allocations: 4 kB / 0.601 GB, free: 2.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003569/0.5903, allocations: 151.1 kB / 0.6011 GB, free: 2.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.5904, allocations: 85.05 kB / 0.6012 GB, free: 2.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.5905, allocations: 124.7 kB / 0.6013 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5905, allocations: 28.52 kB / 0.6014 GB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.5905, allocations: 130.5 kB / 0.6015 GB, free: 2.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.5906, allocations: 61.44 kB / 0.6016 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5906, allocations: 3.312 kB / 0.6016 GB, free: 2.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5907, allocations: 322.1 kB / 0.6019 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.5908, allocations: 37.25 kB / 0.6019 GB, free: 1.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.5909, allocations: 98.02 kB / 0.602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.591, allocations: 50.3 kB / 0.602 GB, free: 1.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.591, allocations: 4 kB / 0.602 GB, free: 1.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000324/0.5913, allocations: 217.7 kB / 0.6023 GB, free: 1.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5913, allocations: 4 kB / 0.6023 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5913, allocations: 4 kB / 0.6023 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.5915, allocations: 48.7 kB / 0.6023 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5917, allocations: 35.98 kB / 0.6023 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.5936, allocations: 2.721 MB / 0.605 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.5937, allocations: 19.47 kB / 0.605 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5937, allocations: 12 kB / 0.605 GB, free: 14.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.5938, allocations: 117.4 kB / 0.6051 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.5938, allocations: 11.86 kB / 0.6052 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.5939, allocations: 19.8 kB / 0.6052 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5939, allocations: 0 / 0.6052 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5939, allocations: 4.188 kB / 0.6052 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5939, allocations: 0 / 0.6052 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.5942, allocations: 237.7 kB / 0.6054 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5942, allocations: 0 / 0.6054 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5943, allocations: 31.98 kB / 0.6054 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.5945, allocations: 53.2 kB / 0.6055 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5945, allocations: 7.5 kB / 0.6055 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5962, allocations: 2.705 MB / 0.6081 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5962, allocations: 4.031 kB / 0.6081 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.5966, allocations: 389 kB / 0.6085 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.5966, allocations: 88.97 kB / 0.6086 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5967, allocations: 3.438 kB / 0.6086 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.5968, allocations: 0 / 0.6086 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.5968, allocations: 14.67 kB / 0.6086 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.5968, allocations: 4 kB / 0.6086 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.833e-05/0.5969, allocations: 99.45 kB / 0.6087 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5969, allocations: 0 / 0.6087 GB, free: 10.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.5973, allocations: 62.84 kB / 0.6088 GB, free: 10.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006472/0.5979, allocations: 0.9762 MB / 0.6097 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.5985, allocations: 335 kB / 0.61 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5985, allocations: 0 / 0.61 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.5988, allocations: 287.9 kB / 0.6103 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5991, allocations: 31.62 kB / 0.6103 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.6002, allocations: 0.6259 MB / 0.611 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.6005, allocations: 0.7321 MB / 0.6117 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.645e-05/0.6005, allocations: 13.19 kB / 0.6117 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.6006, allocations: 43.92 kB / 0.6117 GB, free: 7.418 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6006, allocations: 0 / 0.6117 GB, free: 7.418 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.6159, allocations: 3.316 MB / 0.615 GB, free: 4.309 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.6162, allocations: 185.5 kB / 0.6151 GB, free: 4.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.214, allocations: 7.312 kB / 0.6151 GB, free: 4.086 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat