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.0008939/0.0008938, allocations: 96.2 kB / 17.35 MB, free: 6.371 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.0008171/0.0008173, allocations: 172.2 kB / 18.25 MB, free: 5.523 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.243/1.243, allocations: 223.3 MB / 242.3 MB, free: 212 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.1915/0.1915, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 11.22 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09721, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001854/0.0991, allocations: 1.557 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.09941, allocations: 151.5 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.09948, allocations: 4 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.09952, allocations: 11.86 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.09965, allocations: 47.61 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.09978, allocations: 35.98 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.09995, allocations: 183 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1001, allocations: 49.7 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.1002, allocations: 59.8 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1003, allocations: 63.69 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1003, allocations: 12 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.1004, allocations: 8 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1004, allocations: 27.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.1005, allocations: 93.38 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1007, allocations: 183.5 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1007, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1007, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1007, allocations: 0 / 474.8 MB, free: 10.77 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.0004811/0.1012, allocations: 427.3 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1013, allocations: 12.03 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.1013, allocations: 46.73 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1014, allocations: 16.75 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1016, allocations: 208.1 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1016, allocations: 12.7 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1016, allocations: 20.38 kB / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.1019, allocations: 162.1 kB / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1019, allocations: 15.84 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.102, allocations: 4 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.102, allocations: 4 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1021, allocations: 87.94 kB / 475.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.1029, allocations: 0.6189 MB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1031, allocations: 129.2 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.1032, allocations: 49.7 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1032, allocations: 4 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1033, allocations: 30.56 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1033, allocations: 4 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007441/0.104, allocations: 381.7 kB / 477 MB, free: 8.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1041, allocations: 93.03 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1042, allocations: 124.9 kB / 477.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1042, allocations: 37.62 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1043, allocations: 131.9 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.1044, allocations: 55.19 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1044, allocations: 25.7 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1045, allocations: 326.8 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.1046, allocations: 35.98 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.1047, allocations: 100.6 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1049, allocations: 160.4 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1049, allocations: 0 / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003538/0.1053, allocations: 219 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.1053, allocations: 10.5 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.1053, allocations: 0 / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.1055, allocations: 49.94 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1057, allocations: 39.92 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.1078, allocations: 2.732 MB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.1079, allocations: 20.06 kB / 481.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1079, allocations: 8 kB / 481.2 MB, free: 3.789 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.108, allocations: 133.7 kB / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.1081, allocations: 15.8 kB / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.1081, allocations: 16.72 kB / 481.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1081, allocations: 0 / 481.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.1082, allocations: 4 kB / 481.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1082, allocations: 0 / 481.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1085, allocations: 237.5 kB / 481.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1085, allocations: 4 kB / 481.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1086, allocations: 24.08 kB / 481.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.1087, allocations: 45.64 kB / 481.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1088, allocations: 8 kB / 481.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1107, allocations: 2.72 MB / 484.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1107, allocations: 4.031 kB / 484.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.1111, allocations: 376.4 kB / 484.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1112, allocations: 88.95 kB / 484.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1112, allocations: 3.938 kB / 484.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1113, allocations: 8.062 kB / 484.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1114, allocations: 11.97 kB / 484.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1114, allocations: 8 kB / 484.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.1115, allocations: 99.2 kB / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1115, allocations: 0 / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000454/0.1119, allocations: 59.91 kB / 485 MB, free: 15.57 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007519/0.1127, allocations: 0.9101 MB / 485.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.1132, allocations: 357.2 kB / 486.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1132, allocations: 0 / 486.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1135, allocations: 281.8 kB / 486.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.1141, allocations: 31.06 kB / 486.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.1167, allocations: 2.481 MB / 489 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1171, allocations: 0.7281 MB / 489.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1172, allocations: 5.438 kB / 489.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.1173, allocations: 43.42 kB / 489.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1173, allocations: 0 / 489.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.1561, allocations: 3.397 MB / 493.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.1564, allocations: 251.8 kB / 493.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.008, allocations: 3.625 kB / 493.5 MB, free: 7.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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches