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.001198/0.001198, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001152/0.001152, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2115/0.2115, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3316, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002441/0.3341, allocations: 1.645 MB / 0.52 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.3344, allocations: 114 kB / 0.5201 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.3345, allocations: 2.312 kB / 0.5201 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.3345, allocations: 20.83 kB / 0.5201 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3346, allocations: 33.39 kB / 0.5202 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.3348, allocations: 30.42 kB / 0.5202 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3349, allocations: 124.6 kB / 0.5203 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3351, allocations: 37.66 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.3351, allocations: 52.86 kB / 0.5204 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.3352, allocations: 51.97 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3352, allocations: 9.375 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.3353, allocations: 9.688 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.3353, allocations: 22.56 kB / 0.5205 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3354, allocations: 60.22 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3355, allocations: 123.6 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3356, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3356, allocations: 1.062 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.3356, allocations: 4 kB / 0.5207 GB, free: 1.742 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004124/0.336, allocations: 401.2 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.336, allocations: 13.81 kB / 0.5211 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.3361, allocations: 45.42 kB / 0.5211 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3361, allocations: 15.34 kB / 0.5211 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3363, allocations: 184.8 kB / 0.5213 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3363, allocations: 13.28 kB / 0.5213 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3363, allocations: 17.69 kB / 0.5213 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.3365, allocations: 138.7 kB / 0.5215 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3365, allocations: 6.375 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3366, allocations: 4 kB / 0.5215 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3366, allocations: 3.531 kB / 0.5215 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3367, allocations: 60.89 kB / 0.5215 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.3373, allocations: 0.5399 MB / 0.5221 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3374, allocations: 86.75 kB / 0.5222 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.3375, allocations: 32.53 kB / 0.5222 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3375, allocations: 1.906 kB / 0.5222 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3375, allocations: 37.56 kB / 0.5222 GB, free: 348 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3375, allocations: 0 / 0.5222 GB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005185/0.338, allocations: 300.2 kB / 0.5225 GB, free: 76 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3381, allocations: 82.67 kB / 0.5226 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3382, allocations: 123.6 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3382, allocations: 26.8 kB / 0.5227 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3383, allocations: 122.2 kB / 0.5228 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.3383, allocations: 30.97 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.3384, allocations: 27.61 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3385, allocations: 324 kB / 0.5232 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.3386, allocations: 22.83 kB / 0.5232 GB, free: 15.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.3387, allocations: 96.53 kB / 0.5233 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3388, allocations: 119.9 kB / 0.5234 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3388, allocations: 1.75 kB / 0.5234 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000273/0.3391, allocations: 171.4 kB / 0.5236 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3391, allocations: 6.359 kB / 0.5236 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3392, allocations: 6.688 kB / 0.5236 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.3393, allocations: 42.08 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.3394, allocations: 20.48 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.3414, allocations: 2.731 MB / 0.5263 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.3415, allocations: 16.16 kB / 0.5264 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3415, allocations: 6.172 kB / 0.5264 GB, free: 12.18 MB / 398.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.0001099/0.3416, allocations: 129.8 kB / 0.5265 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.3416, allocations: 12.58 kB / 0.5265 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.3417, allocations: 11.48 kB / 0.5265 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3417, allocations: 0 / 0.5265 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3417, allocations: 1.094 kB / 0.5265 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3417, allocations: 5.797 kB / 0.5265 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.342, allocations: 198 kB / 0.5267 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.342, allocations: 1.031 kB / 0.5267 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.821e-05/0.3421, allocations: 16.8 kB / 0.5267 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3422, allocations: 41 kB / 0.5268 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3422, allocations: 1.188 kB / 0.5268 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.3441, allocations: 2.731 MB / 0.5294 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3441, allocations: 5.734 kB / 0.5294 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3444, allocations: 306.8 kB / 0.5297 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.3445, allocations: 80.39 kB / 0.5298 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3445, allocations: 6.203 kB / 0.5298 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.795e-05/0.3446, allocations: 5 kB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3446, allocations: 7.203 kB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3446, allocations: 2.703 kB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.3447, allocations: 95.61 kB / 0.5299 GB, free: 8.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3447, allocations: 1.156 kB / 0.5299 GB, free: 8.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.3451, allocations: 40.47 kB / 0.53 GB, free: 8.504 MB / 398.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.0005254/0.3456, allocations: 0.8359 MB / 0.5308 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.346, allocations: 306.8 kB / 0.5311 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.346, allocations: 0 / 0.5311 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3463, allocations: 258.5 kB / 0.5313 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.3468, allocations: 40.36 kB / 0.5313 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3488, allocations: 1.963 MB / 0.5333 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3491, allocations: 0.7139 MB / 0.534 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.3492, allocations: 6.891 kB / 0.534 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.3492, allocations: 30.61 kB / 0.534 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3493, allocations: 0 / 0.534 GB, free: 4.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3746, allocations: 3.055 MB / 0.537 GB, free: 3.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.689/10.06, allocations: 15.41 kB / 0.537 GB, free: 3.461 MB / 398.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