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.000857/0.0008572, allocations: 96.94 kB / 16.02 MB, free: 84 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.001026/0.001027, allocations: 178.1 kB / 16.91 MB, free: 6.648 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.41/1.41, allocations: 205.4 MB / 223.1 MB, free: 5.207 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.3396/0.3396, allocations: 43.57 MB / 315 MB, free: 8.953 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.0004958/0.0004958, allocations: 20 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001777/0.1168, allocations: 1.568 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.1171, allocations: 155.5 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.1172, allocations: 0 / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.1172, allocations: 15.86 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1173, allocations: 47.61 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1175, allocations: 27.98 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1176, allocations: 175.2 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1178, allocations: 49.83 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.1179, allocations: 59.73 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.118, allocations: 71.62 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.118, allocations: 11.94 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.559e-05/0.1181, allocations: 8 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.1181, allocations: 23.92 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.1182, allocations: 109.3 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1184, allocations: 171.6 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1184, allocations: 0 / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.16e-06/0.1184, allocations: 0 / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1185, allocations: 7.938 kB / 446 MB, free: 10.09 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.0005638/0.119, allocations: 423.3 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1191, allocations: 8.031 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.1191, allocations: 50.73 kB / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1192, allocations: 28.66 kB / 446.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1194, allocations: 196.2 kB / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1194, allocations: 8.703 kB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.1195, allocations: 24.28 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1198, allocations: 174.1 kB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1198, allocations: 3.938 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1199, allocations: 8 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1199, allocations: 4 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1201, allocations: 91.88 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.121, allocations: 0.6189 MB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1212, allocations: 129.1 kB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.1213, allocations: 53.7 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1213, allocations: 0 / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1214, allocations: 42.56 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.1214, allocations: 0 / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008436/0.1222, allocations: 385.4 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1223, allocations: 81.09 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1224, allocations: 126 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1224, allocations: 30.08 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1225, allocations: 128 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.1226, allocations: 59.19 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1226, allocations: 29.64 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1228, allocations: 330.8 kB / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.1228, allocations: 35.98 kB / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1229, allocations: 100.6 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1231, allocations: 156.5 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1232, allocations: 0 / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003481/0.1235, allocations: 226.8 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1235, allocations: 7.938 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1235, allocations: 4 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.1238, allocations: 53.94 kB / 449.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1239, allocations: 35.92 kB / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.1258, allocations: 2.728 MB / 452.3 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1259, allocations: 19.88 kB / 452.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1259, allocations: 4 kB / 452.4 MB, free: 3.086 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 (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.0001055/0.126, allocations: 129.8 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.1261, allocations: 19.83 kB / 452.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.1261, allocations: 12.72 kB / 452.5 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1261, allocations: 4 kB / 452.5 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1261, allocations: 4.062 kB / 452.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1261, allocations: 0 / 452.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.1264, allocations: 245.4 kB / 452.8 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1264, allocations: 0 / 452.8 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1266, allocations: 31.98 kB / 452.8 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.1267, allocations: 41.7 kB / 452.8 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1267, allocations: 4 kB / 452.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.202/0.3287, allocations: 2.716 MB / 455.6 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3288, allocations: 4.406 kB / 455.6 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.3292, allocations: 370.9 kB / 455.9 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.3292, allocations: 86.25 kB / 456 MB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3292, allocations: 6.781 kB / 456 MB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3294, allocations: 5.25 kB / 456 MB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3294, allocations: 16.09 kB / 456 MB, free: 44.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.3295, allocations: 7.547 kB / 456 MB, free: 44.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.029e-05/0.3295, allocations: 101.5 kB / 456.1 MB, free: 43.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 2.938 kB / 456.1 MB, free: 43.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.33, allocations: 54.64 kB / 456.2 MB, free: 43.98 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 (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.0005394/0.3306, allocations: 0.8978 MB / 457.1 MB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004691/0.3311, allocations: 351.9 kB / 457.4 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3311, allocations: 3.75 kB / 457.4 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3313, allocations: 283.6 kB / 457.7 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3317, allocations: 33.94 kB / 457.7 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.3337, allocations: 2.477 MB / 460.2 MB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3338, allocations: 0.7286 MB / 461 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3339, allocations: 4.469 kB / 461 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.3339, allocations: 49.97 kB / 461 MB, free: 40.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3339, allocations: 6.578 kB / 461 MB, free: 40.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.3466, allocations: 3.406 MB / 464.4 MB, free: 39.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3468, allocations: 253 kB / 464.7 MB, free: 39.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.105, allocations: 0 / 464.7 MB, free: 39.68 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/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) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches