Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_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.0008575/0.000864, allocations: 96.52 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 185.7 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.21 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001984/0.1157, allocations: 1.51 MB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.116, allocations: 147.5 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.1161, allocations: 4 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.1161, allocations: 23.84 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1162, allocations: 47.55 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.1164, allocations: 23.98 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1166, allocations: 175.1 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1167, allocations: 45.66 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.1168, allocations: 59.8 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1169, allocations: 63.75 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1169, allocations: 8 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.117, allocations: 8 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.117, allocations: 27.86 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.1171, allocations: 53.64 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1172, allocations: 131.9 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1172, allocations: 8 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1172, allocations: 4 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1172, allocations: 0 / 474 MB, free: 11.3 MB / 350.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.0004763/0.1177, allocations: 423.1 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1178, allocations: 12.03 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1178, allocations: 50.55 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1179, allocations: 15.81 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1181, allocations: 202.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1181, allocations: 12.33 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1181, allocations: 27.95 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1184, allocations: 161.6 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1184, allocations: 3.984 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1184, allocations: 8 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1184, allocations: 4 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1186, allocations: 87.88 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.1194, allocations: 0.615 MB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1196, allocations: 129.2 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.1197, allocations: 53.7 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.1197, allocations: 0 / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1197, allocations: 30.56 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.1197, allocations: 0 / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007436/0.1205, allocations: 397.5 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1205, allocations: 81.11 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1206, allocations: 128.9 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1207, allocations: 37.64 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1208, allocations: 120.1 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1208, allocations: 59.19 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.1208, allocations: 4 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.121, allocations: 322.8 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.121, allocations: 39.92 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1211, allocations: 100.6 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.1212, allocations: 60.11 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1212, allocations: 0 / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003654/0.1216, allocations: 222.9 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1216, allocations: 4 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1216, allocations: 4 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.1218, allocations: 53.94 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.122, allocations: 35.92 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.1239, allocations: 2.728 MB / 480.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.124, allocations: 11.84 kB / 480.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1241, allocations: 12 kB / 480.2 MB, free: 4.492 MB / 350.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.0001158/0.1242, allocations: 137.7 kB / 480.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.1242, allocations: 11.91 kB / 480.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.1243, allocations: 12.72 kB / 480.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1243, allocations: 8.047 kB / 480.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1243, allocations: 4 kB / 480.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1243, allocations: 0 / 480.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.1246, allocations: 229.5 kB / 480.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1246, allocations: 0 / 480.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.1247, allocations: 27.98 kB / 480.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.1249, allocations: 41.89 kB / 480.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1249, allocations: 8 kB / 480.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.1268, allocations: 2.728 MB / 483.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1268, allocations: 0 / 483.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.1272, allocations: 378.7 kB / 483.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1273, allocations: 85.02 kB / 483.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1273, allocations: 4.062 kB / 483.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.1274, allocations: 4 kB / 483.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1275, allocations: 19.92 kB / 483.8 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1275, allocations: 7.938 kB / 483.8 MB, free: 444 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.1275, allocations: 107.2 kB / 483.9 MB, free: 336 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1275, allocations: 0 / 483.9 MB, free: 336 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.128, allocations: 51.91 kB / 484 MB, free: 284 kB / 350.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.0006921/0.1287, allocations: 0.893 MB / 484.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.1292, allocations: 356 kB / 485.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1292, allocations: 0.5 kB / 485.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1295, allocations: 277.4 kB / 485.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1299, allocations: 27.97 kB / 485.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1318, allocations: 1.352 MB / 486.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1322, allocations: 0.7281 MB / 487.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.776e-05/0.1323, allocations: 17.36 kB / 487.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1323, allocations: 43.42 kB / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1323, allocations: 0 / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.1458, allocations: 3.336 MB / 491 MB, free: 9.273 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.146, allocations: 226.9 kB / 491.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.965, allocations: 0 / 491.2 MB, free: 9.035 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat