Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007533/0.0007533, allocations: 96.84 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2919/0.2919, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09534, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001768/0.09715, allocations: 1.517 MB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.09751, allocations: 155.4 kB / 492.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.09761, allocations: 4 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.09767, allocations: 15.86 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.09781, allocations: 47.67 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.09795, allocations: 23.98 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.09813, allocations: 175.1 kB / 492.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.09829, allocations: 53.62 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.09839, allocations: 51.8 kB / 493 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.09849, allocations: 71.69 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.09853, allocations: 11.94 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.09856, allocations: 8 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.09859, allocations: 27.92 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.09869, allocations: 97.38 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.09884, allocations: 139.8 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.09885, allocations: 0 / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.09886, allocations: 0 / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.09887, allocations: 0 / 493.3 MB, free: 8.16 MB / 378.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.0005103/0.09938, allocations: 419.4 kB / 493.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.09944, allocations: 12.03 kB / 493.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.0995, allocations: 54.73 kB / 493.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.09955, allocations: 20.66 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.09974, allocations: 204.2 kB / 494 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.09977, allocations: 12.7 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.09981, allocations: 32.2 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1001, allocations: 166.1 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.1002, allocations: 7.938 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1002, allocations: 7.984 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1002, allocations: 8 kB / 494.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1004, allocations: 87.95 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1011, allocations: 0.611 MB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1013, allocations: 125.2 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.1014, allocations: 53.7 kB / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1014, allocations: 0 / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1015, allocations: 46.67 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1015, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007262/0.1022, allocations: 385.2 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1022, allocations: 81.11 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.1023, allocations: 130 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1024, allocations: 30.08 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.1024, allocations: 124.1 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.1025, allocations: 59.17 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1025, allocations: 8 kB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.1026, allocations: 326.8 kB / 496.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1027, allocations: 35.98 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.1028, allocations: 100.6 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1029, allocations: 152.4 kB / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.103, allocations: 4 kB / 496.5 MB, free: 4.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003447/0.1033, allocations: 226.8 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1033, allocations: 4 kB / 496.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1033, allocations: 4 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.1035, allocations: 57.88 kB / 496.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1037, allocations: 31.98 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.1055, allocations: 2.728 MB / 499.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.1056, allocations: 15.84 kB / 499.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1056, allocations: 8 kB / 499.6 MB, free: 1.191 MB / 378.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 () * 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.0001022/0.1058, allocations: 133.7 kB / 499.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.1058, allocations: 7.906 kB / 499.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1058, allocations: 20.7 kB / 499.8 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1058, allocations: 8.031 kB / 499.8 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1059, allocations: 4 kB / 499.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1059, allocations: 0 / 499.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1061, allocations: 233.4 kB / 0.4883 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1062, allocations: 0 / 0.4883 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1063, allocations: 27.98 kB / 0.4883 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.1064, allocations: 49.62 kB / 0.4884 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1065, allocations: 4 kB / 0.4884 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1667/0.2731, allocations: 2.706 MB / 0.491 GB, free: 40.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2732, allocations: 1.781 kB / 0.491 GB, free: 40.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.2736, allocations: 377.6 kB / 0.4914 GB, free: 40.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2736, allocations: 91.3 kB / 0.4915 GB, free: 40.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2736, allocations: 2.5 kB / 0.4915 GB, free: 40.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2737, allocations: 4.062 kB / 0.4915 GB, free: 40.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2738, allocations: 16.23 kB / 0.4915 GB, free: 40.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2738, allocations: 3.688 kB / 0.4915 GB, free: 40.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.217e-05/0.2739, allocations: 101.7 kB / 0.4916 GB, free: 40.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.2739, allocations: 0 / 0.4916 GB, free: 40.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004666/0.2743, allocations: 54.67 kB / 0.4916 GB, free: 40.05 MB / 378.7 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.0005081/0.2749, allocations: 0.907 MB / 0.4925 GB, free: 39.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.2753, allocations: 346.6 kB / 0.4929 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2754, allocations: 0 / 0.4929 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2756, allocations: 287.9 kB / 0.4931 GB, free: 38.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.2761, allocations: 29.16 kB / 0.4932 GB, free: 38.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2779, allocations: 1.374 MB / 0.4945 GB, free: 38.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.278, allocations: 0.7221 MB / 0.4952 GB, free: 37.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.2781, allocations: 43.89 kB / 0.4952 GB, free: 37.33 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2781, allocations: 0 / 0.4952 GB, free: 37.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.19/3.468, allocations: 3.647 MB / 0.4988 GB, free: 37.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches