Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.8 MB, free: 9.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.17 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.000226, allocations: 4.375 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1073, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001549/0.1089, allocations: 1.379 MB / 484.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.1092, allocations: 115.6 kB / 484.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.1092, allocations: 4 kB / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.1092, allocations: 7.922 kB / 484.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.1093, allocations: 31.77 kB / 484.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.777e-05/0.1095, allocations: 23.98 kB / 484.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1096, allocations: 127.4 kB / 484.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1097, allocations: 29.05 kB / 484.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.1098, allocations: 47.73 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1098, allocations: 47.78 kB / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1099, allocations: 4 kB / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.1099, allocations: 8 kB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.1099, allocations: 19.91 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.11, allocations: 77.45 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1101, allocations: 115.8 kB / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1101, allocations: 0 / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1101, allocations: 0 / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1101, allocations: 4 kB / 485.2 MB, free: 2.004 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.0003676/0.1105, allocations: 387.4 kB / 485.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1105, allocations: 8.875 kB / 485.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.1106, allocations: 46.73 kB / 485.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1106, allocations: 12.84 kB / 485.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1108, allocations: 188.2 kB / 485.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1108, allocations: 12.55 kB / 485.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1108, allocations: 16.36 kB / 485.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.111, allocations: 127.4 kB / 486 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1111, allocations: 11.84 kB / 486 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1111, allocations: 7.984 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1111, allocations: 4 kB / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.1112, allocations: 59.91 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1118, allocations: 0.5411 MB / 486.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1119, allocations: 85.08 kB / 486.7 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.112, allocations: 33.83 kB / 486.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.112, allocations: 4 kB / 486.7 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.112, allocations: 34.56 kB / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.112, allocations: 0 / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005124/0.1125, allocations: 309.3 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1126, allocations: 77.11 kB / 487.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.1127, allocations: 117.8 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1127, allocations: 25.7 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.1128, allocations: 123.6 kB / 487.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1128, allocations: 39.48 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1128, allocations: 21.7 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.1129, allocations: 322.8 kB / 487.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.113, allocations: 19.98 kB / 487.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.113, allocations: 88.58 kB / 487.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1132, allocations: 120.5 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1132, allocations: 7.875 kB / 488 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002508/0.1134, allocations: 167.5 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1135, allocations: 10.75 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1135, allocations: 7.938 kB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.1136, allocations: 37.64 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.1137, allocations: 16 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.1152, allocations: 2.542 MB / 490.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.1153, allocations: 19.83 kB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1153, allocations: 8 kB / 490.8 MB, free: 11.75 MB / 366.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 8.041e-05/0.1154, allocations: 125.7 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1154, allocations: 4 kB / 490.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.1155, allocations: 20 kB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1155, allocations: 0 / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1155, allocations: 0 / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1155, allocations: 0 / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1157, allocations: 209.4 kB / 491.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1157, allocations: 0 / 491.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.1158, allocations: 15.98 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.845e-05/0.1159, allocations: 33.7 kB / 491.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1159, allocations: 4 kB / 491.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.1174, allocations: 2.548 MB / 493.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1174, allocations: 0 / 493.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1176, allocations: 308.4 kB / 494.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1177, allocations: 85.02 kB / 494.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1177, allocations: 4 kB / 494.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.1178, allocations: 4 kB / 494.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.1178, allocations: 12.03 kB / 494.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1178, allocations: 0 / 494.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.1179, allocations: 99.2 kB / 494.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1179, allocations: 4 kB / 494.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1182, allocations: 39.88 kB / 494.3 MB, free: 7.875 MB / 366.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.0004734/0.1187, allocations: 0.8266 MB / 495.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.1191, allocations: 305.1 kB / 495.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1191, allocations: 0 / 495.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1193, allocations: 258.2 kB / 495.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1198, allocations: 24.92 kB / 495.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1216, allocations: 2.085 MB / 497.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1218, allocations: 0.7161 MB / 498.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.1219, allocations: 12.86 kB / 498.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.1219, allocations: 27.44 kB / 498.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1219, allocations: 3.938 kB / 498.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.1342, allocations: 2.695 MB / 0.4895 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.1344, allocations: 227.8 kB / 0.4897 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.876, allocations: 0 / 0.4897 GB, free: 0.5742 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches