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.0009466/0.0009466, allocations: 91.02 kB / 17.35 MB, free: 6.027 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.001155/0.001155, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.256/1.256, allocations: 223.2 MB / 242.3 MB, free: 92 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.1788/0.1788, allocations: 44.25 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003769, allocations: 12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 61.92 MB / 472.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001538/0.1058, allocations: 1.354 MB / 473.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.1061, allocations: 115.6 kB / 473.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.1061, allocations: 4 kB / 473.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.1061, allocations: 7.922 kB / 473.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.1062, allocations: 31.75 kB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.1064, allocations: 24 kB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1065, allocations: 123.4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1066, allocations: 32.97 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.1067, allocations: 43.8 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.1068, allocations: 43.78 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1068, allocations: 7.938 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.1068, allocations: 8 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.1068, allocations: 27.91 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1069, allocations: 77.44 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.107, allocations: 111.8 kB / 474.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.107, allocations: 4 kB / 474.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.107, allocations: 0 / 474.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.107, allocations: 0 / 474.3 MB, free: 11.21 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.0003685/0.1074, allocations: 387.4 kB / 474.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1075, allocations: 8.031 kB / 474.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.1075, allocations: 46.73 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1076, allocations: 16.84 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1077, allocations: 192.2 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1077, allocations: 8.547 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1078, allocations: 16.38 kB / 475 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.108, allocations: 125.5 kB / 475.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.108, allocations: 11.84 kB / 475.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.108, allocations: 4 kB / 475.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.108, allocations: 4 kB / 475.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.1081, allocations: 63.89 kB / 475.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.1088, allocations: 0.5372 MB / 475.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1089, allocations: 89.27 kB / 475.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.109, allocations: 33.64 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.109, allocations: 0 / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.109, allocations: 34.56 kB / 475.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.109, allocations: 4 kB / 475.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005334/0.1096, allocations: 309.3 kB / 476.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1096, allocations: 77.11 kB / 476.3 MB, free: 9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.1097, allocations: 121.8 kB / 476.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1097, allocations: 25.7 kB / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.1098, allocations: 131.6 kB / 476.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1098, allocations: 31.56 kB / 476.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1099, allocations: 21.7 kB / 476.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.11, allocations: 318.8 kB / 476.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.11, allocations: 23.98 kB / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1101, allocations: 91.53 kB / 477 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1103, allocations: 120.5 kB / 477.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1103, allocations: 7.875 kB / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002596/0.1105, allocations: 167.1 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1105, allocations: 4 kB / 477.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1106, allocations: 12.19 kB / 477.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.1107, allocations: 45.58 kB / 477.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.1108, allocations: 20 kB / 477.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.1125, allocations: 2.545 MB / 479.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.1126, allocations: 15.88 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1126, allocations: 8 kB / 480 MB, free: 4.938 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.0001015/0.1127, allocations: 125.7 kB / 480.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.1127, allocations: 4 kB / 480.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.1128, allocations: 11.91 kB / 480.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1128, allocations: 4.094 kB / 480.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1128, allocations: 0 / 480.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1128, allocations: 7.984 kB / 480.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1131, allocations: 201.4 kB / 480.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1131, allocations: 0 / 480.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.1132, allocations: 19.98 kB / 480.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.332e-05/0.1133, allocations: 33.7 kB / 480.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1133, allocations: 4 kB / 480.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.1149, allocations: 2.54 MB / 482.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1149, allocations: 0 / 482.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.1151, allocations: 312.5 kB / 483.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.1152, allocations: 81.02 kB / 483.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1152, allocations: 8 kB / 483.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.1153, allocations: 0 / 483.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1153, allocations: 8.031 kB / 483.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1154, allocations: 0 / 483.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.1154, allocations: 99.27 kB / 483.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 483.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1157, allocations: 43.88 kB / 483.5 MB, free: 1.078 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.0005499/0.1163, allocations: 0.8309 MB / 484.3 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.1167, allocations: 309.2 kB / 484.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1167, allocations: 0 / 484.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.117, allocations: 257.3 kB / 484.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1174, allocations: 30.72 kB / 484.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1193, allocations: 2.071 MB / 486.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1196, allocations: 0.7161 MB / 487.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1196, allocations: 12.81 kB / 487.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.1197, allocations: 31.42 kB / 487.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1197, allocations: 0 / 487.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.1324, allocations: 2.693 MB / 490.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1326, allocations: 231.2 kB / 490.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.839, allocations: 0 / 490.6 MB, free: 9.773 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches