Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.001253/0.001253, allocations: 97.3 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.001523/0.001524, allocations: 180.6 kB / 16.57 MB, free: 6.852 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.687/1.687, allocations: 205.4 MB / 222.7 MB, free: 5.895 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.466/0.466, allocations: 43.55 MB / 314.5 MB, free: 8.883 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.0005772/0.0005774, allocations: 18.95 kB / 384 MB, free: 8.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 58.86 MB / 442.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001886/0.1386, allocations: 1.46 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.1389, allocations: 167.5 kB / 444.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.139, allocations: 0 / 444.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.139, allocations: 15.86 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1391, allocations: 51.88 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.1393, allocations: 27.97 kB / 444.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1395, allocations: 123.8 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1396, allocations: 53.77 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.1397, allocations: 55.86 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1398, allocations: 67.69 kB / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1399, allocations: 8 kB / 444.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.1399, allocations: 8 kB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.1399, allocations: 27.86 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.14, allocations: 61.58 kB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1401, allocations: 123.9 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1402, allocations: 0 / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1402, allocations: 4 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1402, allocations: 0 / 445.1 MB, free: 10.98 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005752/0.1408, allocations: 427.2 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1408, allocations: 15.97 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.1409, allocations: 46.55 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.141, allocations: 23.67 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1412, allocations: 202.9 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1412, allocations: 12.33 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.1413, allocations: 19.94 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1417, allocations: 169.6 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1417, allocations: 3.906 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1417, allocations: 8 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1417, allocations: 7.953 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1419, allocations: 83.95 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.1427, allocations: 0.615 MB / 446.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.143, allocations: 137.1 kB / 446.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.143, allocations: 4 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.143, allocations: 42.64 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.143, allocations: 0 / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007603/0.1438, allocations: 377.3 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1438, allocations: 81.11 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.144, allocations: 125.9 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.144, allocations: 33.7 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.1441, allocations: 132 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.1441, allocations: 51.2 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1442, allocations: 8.375 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1443, allocations: 326.8 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.1444, allocations: 35.98 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1445, allocations: 100.5 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.51e-05/0.1446, allocations: 59.94 kB / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1446, allocations: 0 / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003454/0.1449, allocations: 219 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.145, allocations: 7.953 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.145, allocations: 4 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.1452, allocations: 49.69 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1453, allocations: 43.86 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.1474, allocations: 2.736 MB / 451.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.1475, allocations: 11.84 kB / 451.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1475, allocations: 12.25 kB / 451.3 MB, free: 4.199 MB / 382.1 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 () * Number of clocked 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 0.000152/0.1477, allocations: 133.8 kB / 451.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.1477, allocations: 15.81 kB / 451.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.1478, allocations: 12.72 kB / 451.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1478, allocations: 11.92 kB / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1478, allocations: 0 / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1478, allocations: 0 / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.1481, allocations: 229.5 kB / 451.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1481, allocations: 4 kB / 451.7 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1483, allocations: 27.98 kB / 451.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.1484, allocations: 49.69 kB / 451.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1484, allocations: 0 / 451.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.1503, allocations: 2.728 MB / 454.5 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1503, allocations: 3.953 kB / 454.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1507, allocations: 386.2 kB / 454.8 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1508, allocations: 88.95 kB / 454.9 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1508, allocations: 4 kB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1509, allocations: 4.062 kB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1509, allocations: 12.02 kB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.151, allocations: 7.938 kB / 455 MB, free: 128 kB / 382.1 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.151, allocations: 103.2 kB / 455.1 MB, free: 24 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.151, allocations: 0 / 455.1 MB, free: 24 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2512/0.4022, allocations: 52.2 kB / 455.1 MB, free: 46.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (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.0007879/0.4031, allocations: 0.9809 MB / 456.1 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.4037, allocations: 346.2 kB / 456.4 MB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4037, allocations: 0 / 456.4 MB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.4039, allocations: 291.1 kB / 456.7 MB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4043, allocations: 25.78 kB / 456.7 MB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.4062, allocations: 2.69 MB / 459.4 MB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.4064, allocations: 0.7293 MB / 460.2 MB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.4064, allocations: 10.33 kB / 460.2 MB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.4065, allocations: 41.45 kB / 460.2 MB, free: 42.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4065, allocations: 0 / 460.2 MB, free: 42.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.4207, allocations: 3.331 MB / 463.5 MB, free: 41.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.4209, allocations: 223.1 kB / 463.8 MB, free: 41.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.174, allocations: 0 / 463.8 MB, free: 41.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat