Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.0009301/0.00093, allocations: 97.33 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 183.3 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 223.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2877/0.2877, allocations: 43.57 MB / 315 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004538, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09511, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002522/0.09766, allocations: 2.645 MB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.09858, allocations: 0.753 MB / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.0987, allocations: 7.938 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.09882, allocations: 39.62 kB / 447 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.099, allocations: 95.3 kB / 447.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.09922, allocations: 87.91 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.0996, allocations: 458.5 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.09982, allocations: 144.3 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1, allocations: 155.4 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1002, allocations: 183.1 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.1003, allocations: 20 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.1003, allocations: 23.94 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1004, allocations: 67.67 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1005, allocations: 208.6 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1008, allocations: 438.2 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1009, allocations: 0 / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1009, allocations: 0 / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1009, allocations: 0 / 448.8 MB, free: 7.254 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001075/0.1019, allocations: 0.6397 MB / 449.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.102, allocations: 8.031 kB / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.1021, allocations: 74.72 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.1021, allocations: 40.47 kB / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1024, allocations: 283.3 kB / 449.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1024, allocations: 29.38 kB / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.1025, allocations: 48.38 kB / 449.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.1031, allocations: 350.5 kB / 450.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1031, allocations: 0 / 450.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.1031, allocations: 16 kB / 450.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1032, allocations: 8 kB / 450.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.1037, allocations: 319.8 kB / 450.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1056, allocations: 1.341 MB / 452 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.1061, allocations: 288.8 kB / 452.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1063, allocations: 165.4 kB / 452.4 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1064, allocations: 4.281 kB / 452.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1064, allocations: 34.84 kB / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.1064, allocations: 0 / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007547/0.1072, allocations: 398.3 kB / 452.8 MB, free: 3.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1072, allocations: 59.41 kB / 452.9 MB, free: 2.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1074, allocations: 262.7 kB / 453.1 MB, free: 2.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1075, allocations: 33.7 kB / 453.2 MB, free: 2.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1076, allocations: 207.9 kB / 453.4 MB, free: 2.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.1077, allocations: 114.4 kB / 453.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1077, allocations: 37.7 kB / 453.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1078, allocations: 334.8 kB / 453.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.1081, allocations: 112.8 kB / 454 MB, free: 1.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1083, allocations: 179.5 kB / 454.1 MB, free: 1.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.1088, allocations: 304.6 kB / 454.4 MB, free: 1.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1088, allocations: 3.938 kB / 454.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006367/0.1095, allocations: 382.4 kB / 454.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1095, allocations: 8 kB / 454.8 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1095, allocations: 0 / 454.8 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1095, allocations: 4 kB / 454.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.11, allocations: 107.9 kB / 454.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.11, allocations: 7.938 kB / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1102, allocations: 43.56 kB / 455 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1103, allocations: 23.98 kB / 455 MB, free: 0.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.1104, allocations: 149.7 kB / 455.1 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.1104, allocations: 35.61 kB / 455.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.1111, allocations: 332.4 kB / 455.5 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1111, allocations: 4 kB / 455.5 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1111, allocations: 0 / 455.5 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1111, allocations: 3.984 kB / 455.5 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1304/0.2415, allocations: 407.5 kB / 455.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2415, allocations: 0 / 455.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.242, allocations: 87.8 kB / 456 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.242, allocations: 0 / 456 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.242, allocations: 7.594 kB / 456 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.242, allocations: 4.125 kB / 456 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.242, allocations: 0 / 456 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.2428, allocations: 0.5287 MB / 456.5 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.2429, allocations: 128.6 kB / 456.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.2429, allocations: 9.344 kB / 456.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2431, allocations: 14.22 kB / 456.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.2432, allocations: 18.5 kB / 456.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2432, allocations: 12.23 kB / 456.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2433, allocations: 187.4 kB / 456.9 MB, free: 45.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2433, allocations: 0 / 456.9 MB, free: 45.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.2437, allocations: 96.92 kB / 457 MB, free: 45.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007896/0.2445, allocations: 1.073 MB / 458.1 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.2449, allocations: 284 kB / 458.3 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2449, allocations: 3.031 kB / 458.3 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2452, allocations: 141.9 kB / 458.5 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2455, allocations: 38.34 kB / 458.5 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.2484, allocations: 3.381 MB / 461.9 MB, free: 42.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.2486, allocations: 0.7873 MB / 462.7 MB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.2487, allocations: 37.8 kB / 462.7 MB, free: 42.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2489, allocations: 113.5 kB / 462.8 MB, free: 42.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2489, allocations: 0 / 462.8 MB, free: 42.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.311, allocations: 5.188 MB / 468 MB, free: 41.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/1.312, allocations: 184 kB / 468.2 MB, free: 41.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.967, allocations: 0 / 468.2 MB, free: 41.48 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches