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.001002/0.001002, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009392/0.0009392, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.347/1.347, allocations: 205.1 MB / 222.6 MB, free: 4.961 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.3196/0.3196, allocations: 43.5 MB / 313.5 MB, free: 8.328 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.001628/0.001628, allocations: 63.91 kB / 382.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1065, allocations: 57.79 MB / 439.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003923/0.1104, allocations: 3.01 MB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1116, allocations: 0.7685 MB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1117, allocations: 11.94 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1119, allocations: 31.7 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1121, allocations: 91.3 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1124, allocations: 99.83 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.1128, allocations: 446.5 kB / 444.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1131, allocations: 152.3 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1133, allocations: 171.3 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1135, allocations: 199.1 kB / 444.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.1136, allocations: 24 kB / 444.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.878e-05/0.1137, allocations: 28 kB / 444.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.1137, allocations: 71.69 kB / 445 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.1139, allocations: 195 kB / 445.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1143, allocations: 446.3 kB / 445.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1143, allocations: 0 / 445.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1143, allocations: 0 / 445.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.1143, allocations: 0 / 445.6 MB, free: 9.086 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.001315/0.1157, allocations: 0.7021 MB / 446.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1157, allocations: 8.031 kB / 446.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.406e-05/0.1158, allocations: 74.72 kB / 446.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.1159, allocations: 52.31 kB / 446.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1162, allocations: 283.4 kB / 446.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1162, allocations: 25.38 kB / 446.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.1163, allocations: 44.38 kB / 446.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1168, allocations: 346.6 kB / 447.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1169, allocations: 0 / 447.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.1169, allocations: 16 kB / 447.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1169, allocations: 8 kB / 447.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.1175, allocations: 307.7 kB / 447.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1196, allocations: 1.345 MB / 448.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1201, allocations: 276.8 kB / 449.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.1203, allocations: 157.4 kB / 449.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1204, allocations: 4.281 kB / 449.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1204, allocations: 38.84 kB / 449.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.292e-06/0.1204, allocations: 4 kB / 449.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007733/0.1212, allocations: 374.4 kB / 449.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1212, allocations: 55.41 kB / 449.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1215, allocations: 270.5 kB / 450 MB, free: 4.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1215, allocations: 33.7 kB / 450 MB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1217, allocations: 207.9 kB / 450.2 MB, free: 4.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.1218, allocations: 114.4 kB / 450.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1219, allocations: 70.03 kB / 450.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.122, allocations: 342.8 kB / 450.7 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1223, allocations: 100.8 kB / 450.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.1226, allocations: 175.5 kB / 451 MB, free: 3.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.1231, allocations: 288.6 kB / 451.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1231, allocations: 3.938 kB / 451.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000625/0.1237, allocations: 369.9 kB / 451.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1237, allocations: 8.219 kB / 451.6 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1238, allocations: 4 kB / 451.6 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1238, allocations: 4 kB / 451.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.1243, allocations: 107.8 kB / 451.7 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.1243, allocations: 7.938 kB / 451.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.1245, allocations: 43.52 kB / 451.8 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.1246, allocations: 16 kB / 451.8 MB, free: 2.566 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.0001482/0.1247, allocations: 145.7 kB / 452 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1248, allocations: 35.7 kB / 452 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006278/0.1254, allocations: 328.3 kB / 452.3 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1254, allocations: 4 kB / 452.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1254, allocations: 0 / 452.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1255, allocations: 0 / 452.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1259, allocations: 413 kB / 452.7 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1259, allocations: 0 / 452.7 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.1263, allocations: 83.89 kB / 452.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1263, allocations: 3.984 kB / 452.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.1263, allocations: 8 kB / 452.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1264, allocations: 0 / 452.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1264, allocations: 0 / 452.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.1272, allocations: 0.5184 MB / 453.3 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1273, allocations: 136.7 kB / 453.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.1273, allocations: 7.938 kB / 453.5 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1276, allocations: 11.98 kB / 453.5 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.1276, allocations: 23.97 kB / 453.5 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1277, allocations: 4 kB / 453.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1278, allocations: 198 kB / 453.7 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1278, allocations: 0 / 453.7 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1282, allocations: 83.84 kB / 453.8 MB, free: 0.4961 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.1764/0.3045, allocations: 1.057 MB / 454.8 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.3051, allocations: 273.8 kB / 455.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3051, allocations: 0 / 455.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3054, allocations: 137.5 kB / 455.2 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3058, allocations: 27.8 kB / 455.3 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.3092, allocations: 3.302 MB / 458.6 MB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3094, allocations: 0.7838 MB / 459.4 MB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.3096, allocations: 38.94 kB / 459.4 MB, free: 46.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3097, allocations: 113.8 kB / 459.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3097, allocations: 0 / 459.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.3294, allocations: 5.287 MB / 464.8 MB, free: 45.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.3296, allocations: 196 kB / 465 MB, free: 45.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.177, allocations: 0 / 465 MB, free: 45.65 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