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.001226/0.001226, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001227/0.001228, allocations: 187 kB / 18.71 MB, free: 4.344 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.45/1.45, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2166/0.2166, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4115, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002428/0.414, allocations: 1.662 MB / 0.52 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.4143, allocations: 108.5 kB / 0.5201 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.4143, allocations: 6.938 kB / 0.5201 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.705e-05/0.4144, allocations: 17.94 kB / 0.5201 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.4145, allocations: 32.55 kB / 0.5202 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.4147, allocations: 25.66 kB / 0.5202 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.4148, allocations: 130.8 kB / 0.5203 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4149, allocations: 33.7 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.415, allocations: 56.16 kB / 0.5204 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.4151, allocations: 46.45 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.4151, allocations: 13.5 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.4151, allocations: 9.688 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.4152, allocations: 23.42 kB / 0.5205 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.4152, allocations: 60.02 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.4154, allocations: 123.2 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4154, allocations: 1.344 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4154, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4154, 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.0003907/0.4158, allocations: 401.2 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4159, allocations: 10.06 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.4159, allocations: 41.36 kB / 0.5211 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.416, allocations: 23.12 kB / 0.5211 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4161, allocations: 185.1 kB / 0.5213 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4161, allocations: 9.016 kB / 0.5213 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4162, allocations: 16.95 kB / 0.5213 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.4164, allocations: 139.1 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4164, allocations: 5.094 kB / 0.5215 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4164, allocations: 5.281 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4164, allocations: 3.969 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4165, allocations: 61.69 kB / 0.5215 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.4171, allocations: 0.5389 MB / 0.5221 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.4173, allocations: 86.64 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.4173, allocations: 33.88 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.4173, allocations: 1.156 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.4174, allocations: 36.41 kB / 0.5222 GB, free: 352 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4174, allocations: 0 / 0.5222 GB, free: 352 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00052/0.4179, allocations: 305.1 kB / 0.5225 GB, free: 76 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.418, allocations: 79.31 kB / 0.5226 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4181, allocations: 121.8 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4181, allocations: 34.42 kB / 0.5227 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.4182, allocations: 119.3 kB / 0.5228 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4182, allocations: 30.23 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.4183, allocations: 28.3 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4184, allocations: 324.7 kB / 0.5232 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.4185, allocations: 23.23 kB / 0.5232 GB, free: 15.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/0.4186, allocations: 91.02 kB / 0.5233 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.4187, allocations: 120.5 kB / 0.5234 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4187, allocations: 1.125 kB / 0.5234 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002889/0.419, allocations: 167.2 kB / 0.5236 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4191, allocations: 11.25 kB / 0.5236 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4191, allocations: 5.406 kB / 0.5236 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.4193, allocations: 39.47 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.4194, allocations: 28.34 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.4213, allocations: 2.735 MB / 0.5263 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.4215, allocations: 11.72 kB / 0.5264 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4215, allocations: 10.72 kB / 0.5264 GB, free: 12.17 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.0001057/0.4216, allocations: 125.9 kB / 0.5265 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.4216, allocations: 11.62 kB / 0.5265 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.4217, allocations: 9.953 kB / 0.5265 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4217, allocations: 2.953 kB / 0.5265 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4217, allocations: 5.125 kB / 0.5265 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4217, allocations: 1.859 kB / 0.5265 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.422, allocations: 193.3 kB / 0.5267 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.422, allocations: 1.625 kB / 0.5267 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.4221, allocations: 16.72 kB / 0.5267 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.4222, allocations: 40.7 kB / 0.5268 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4222, allocations: 1.062 kB / 0.5268 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.424, allocations: 2.735 MB / 0.5294 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4241, allocations: 2.094 kB / 0.5294 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4244, allocations: 310.9 kB / 0.5297 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4245, allocations: 80.86 kB / 0.5298 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4245, allocations: 2.344 kB / 0.5298 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.4246, allocations: 4 kB / 0.5298 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.4246, allocations: 10.69 kB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4246, allocations: 3.344 kB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.4247, allocations: 91.83 kB / 0.5299 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4247, allocations: 1.156 kB / 0.5299 GB, free: 8.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.4251, allocations: 39.31 kB / 0.53 GB, free: 8.508 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.0006221/0.4257, allocations: 0.8326 MB / 0.5308 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004893/0.4262, allocations: 308 kB / 0.5311 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4262, allocations: 0 / 0.5311 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4265, allocations: 257.7 kB / 0.5313 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.427, allocations: 43.92 kB / 0.5313 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4291, allocations: 1.966 MB / 0.5333 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4295, allocations: 0.7179 MB / 0.534 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.4295, allocations: 6.844 kB / 0.534 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4296, allocations: 30.19 kB / 0.534 GB, free: 4.688 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4296, allocations: 0 / 0.534 GB, free: 4.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.4589, allocations: 3.048 MB / 0.537 GB, free: 3.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.475/9.934, allocations: 12.48 kB / 0.537 GB, free: 3.469 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