Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.001717/0.001717, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001776/0.001776, allocations: 194 kB / 18.12 MB, free: 5.363 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.347/1.347, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.18 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 61.17 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002551/0.1073, allocations: 1.701 MB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.1076, allocations: 115.6 kB / 470.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1076, allocations: 7.938 kB / 470.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.1077, allocations: 7.922 kB / 470.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1078, allocations: 27.77 kB / 470.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.1079, allocations: 31.92 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1081, allocations: 115.4 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1082, allocations: 36.95 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.1083, allocations: 47.8 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.1084, allocations: 51.77 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1084, allocations: 4 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.1084, allocations: 8 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.1084, allocations: 19.92 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.1085, allocations: 47.75 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1086, allocations: 119.9 kB / 470.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1087, allocations: 4 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1087, allocations: 0 / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1087, allocations: 0 / 471 MB, free: 12.37 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005104/0.1092, allocations: 407.4 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1092, allocations: 12.03 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1093, allocations: 42.75 kB / 471.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1093, allocations: 12.75 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1095, allocations: 192.2 kB / 471.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1095, allocations: 16.61 kB / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1096, allocations: 16.28 kB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1098, allocations: 129.5 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1098, allocations: 3.938 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1098, allocations: 4 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1099, allocations: 4 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.11, allocations: 59.91 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.1107, allocations: 0.5489 MB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1108, allocations: 85.17 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.1109, allocations: 33.73 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1109, allocations: 0 / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.111, allocations: 34.56 kB / 472.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.111, allocations: 4 kB / 472.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006892/0.1117, allocations: 309.7 kB / 472.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1117, allocations: 77.11 kB / 472.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1118, allocations: 125.8 kB / 473 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1119, allocations: 29.7 kB / 473.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.112, allocations: 119.6 kB / 473.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.112, allocations: 31.55 kB / 473.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.112, allocations: 29.72 kB / 473.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1121, allocations: 326.7 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.1122, allocations: 27.98 kB / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1123, allocations: 83.39 kB / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1124, allocations: 124.4 kB / 473.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1124, allocations: 8 kB / 473.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002663/0.1127, allocations: 159.1 kB / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1127, allocations: 10.5 kB / 474 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1127, allocations: 7.922 kB / 474 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.1129, allocations: 41.91 kB / 474 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.113, allocations: 19.98 kB / 474 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1148, allocations: 2.54 MB / 476.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1148, allocations: 16.12 kB / 476.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1148, allocations: 15.98 kB / 476.6 MB, free: 6.066 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.115, allocations: 129.7 kB / 476.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.115, allocations: 7.906 kB / 476.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.1151, allocations: 11.91 kB / 476.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1151, allocations: 0 / 476.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1151, allocations: 0 / 476.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1151, allocations: 4 kB / 476.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1153, allocations: 209.5 kB / 477 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1153, allocations: 0 / 477 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.1154, allocations: 12 kB / 477 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.281e-05/0.1155, allocations: 33.7 kB / 477 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1155, allocations: 4 kB / 477 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.1171, allocations: 2.544 MB / 479.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1171, allocations: 0 / 479.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1174, allocations: 308.8 kB / 479.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1174, allocations: 81.02 kB / 479.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1175, allocations: 8.094 kB / 479.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.1176, allocations: 3.938 kB / 479.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1176, allocations: 11.98 kB / 480 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1176, allocations: 0 / 480 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.1177, allocations: 99.2 kB / 480.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 480.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.118, allocations: 43.78 kB / 480.1 MB, free: 2.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/0.1186, allocations: 0.8232 MB / 480.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.119, allocations: 309.5 kB / 481.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.119, allocations: 0 / 481.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.1193, allocations: 265.2 kB / 481.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1198, allocations: 23.92 kB / 481.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1217, allocations: 2.004 MB / 483.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.122, allocations: 0.7125 MB / 484.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.1221, allocations: 8.875 kB / 484.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1221, allocations: 31.42 kB / 484.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1221, allocations: 0 / 484.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.1355, allocations: 2.777 MB / 487 MB, free: 11.13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1357, allocations: 235.2 kB / 487.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.904, allocations: 0 / 487.3 MB, free: 10.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches