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.001061/0.001061, allocations: 102.8 kB / 15.98 MB, free: 6.766 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.001122/0.001122, allocations: 191.4 kB / 16.9 MB, free: 6.559 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.49/1.49, allocations: 205.1 MB / 222.8 MB, free: 4.75 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.3536/0.3536, allocations: 43.49 MB / 313.6 MB, free: 8.531 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.001422/0.001422, allocations: 67.91 kB / 382.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 57.79 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004711/0.1362, allocations: 3.003 MB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1377, allocations: 0.7646 MB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1379, allocations: 8 kB / 443.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1381, allocations: 39.62 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1383, allocations: 91.31 kB / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1387, allocations: 91.89 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.1393, allocations: 478.4 kB / 444.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.1397, allocations: 163.9 kB / 444.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.14, allocations: 187.3 kB / 444.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1403, allocations: 203.1 kB / 445.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.1404, allocations: 43.98 kB / 445.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.1405, allocations: 40 kB / 445.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1406, allocations: 95.61 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1408, allocations: 199 kB / 445.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.1413, allocations: 458.3 kB / 445.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1413, allocations: 0 / 445.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1413, allocations: 0 / 445.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1413, allocations: 0 / 445.9 MB, free: 8.789 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.001545/0.1429, allocations: 0.7059 MB / 446.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.143, allocations: 11.89 kB / 446.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.954e-05/0.1431, allocations: 78.7 kB / 446.7 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.1432, allocations: 48.38 kB / 446.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.1435, allocations: 283.3 kB / 447 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.1436, allocations: 29.38 kB / 447.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.1437, allocations: 40.38 kB / 447.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.1444, allocations: 346.6 kB / 447.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1444, allocations: 4 kB / 447.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1445, allocations: 16 kB / 447.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1445, allocations: 8 kB / 447.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.1452, allocations: 303.8 kB / 447.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.1482, allocations: 1.349 MB / 449.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.149, allocations: 272.9 kB / 449.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.1495, allocations: 161.4 kB / 449.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.1496, allocations: 8.219 kB / 449.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1496, allocations: 30.84 kB / 449.6 MB, free: 4.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 3.136e-06/0.1496, allocations: 4 kB / 449.6 MB, free: 4.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001288/0.1509, allocations: 382.4 kB / 450 MB, free: 4.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.151, allocations: 55.41 kB / 450 MB, free: 4.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1513, allocations: 266.6 kB / 450.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.1514, allocations: 29.7 kB / 450.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1516, allocations: 204 kB / 450.5 MB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1517, allocations: 118.3 kB / 450.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1518, allocations: 74.03 kB / 450.7 MB, free: 3.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1521, allocations: 334.8 kB / 451 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1523, allocations: 104.8 kB / 451.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.1526, allocations: 179.4 kB / 451.3 MB, free: 3.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.1532, allocations: 288.6 kB / 451.6 MB, free: 2.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1532, allocations: 3.938 kB / 451.6 MB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00067/0.1539, allocations: 365.9 kB / 451.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1539, allocations: 8.219 kB / 452 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1539, allocations: 11.88 kB / 452 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1539, allocations: 7.984 kB / 452 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.1544, allocations: 107.8 kB / 452.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1545, allocations: 4 kB / 452.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1547, allocations: 43.53 kB / 452.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1548, allocations: 11.98 kB / 452.1 MB, free: 2.254 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.000163/0.1549, allocations: 153.7 kB / 452.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.155, allocations: 27.72 kB / 452.3 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.1556, allocations: 324.3 kB / 452.6 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1557, allocations: 4 kB / 452.6 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.1557, allocations: 4 kB / 452.6 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1557, allocations: 3.984 kB / 452.6 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1561, allocations: 405 kB / 453 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1562, allocations: 4 kB / 453 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1566, allocations: 87.88 kB / 453.1 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1566, allocations: 0 / 453.1 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.1566, allocations: 8 kB / 453.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1566, allocations: 0 / 453.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1566, allocations: 0 / 453.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.1575, allocations: 0.5106 MB / 453.6 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1576, allocations: 132.7 kB / 453.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.1576, allocations: 12 kB / 453.8 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1579, allocations: 15.98 kB / 453.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.158, allocations: 19.97 kB / 453.8 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.158, allocations: 8 kB / 453.8 MB, free: 472 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1582, allocations: 193.9 kB / 454 MB, free: 280 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1582, allocations: 0 / 454 MB, free: 280 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1586, allocations: 91.84 kB / 454.1 MB, free: 188 kB / 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.2104/0.369, allocations: 1.053 MB / 455.2 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.3697, allocations: 289.8 kB / 455.4 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3697, allocations: 2 kB / 455.4 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3699, allocations: 139.8 kB / 455.6 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.3704, allocations: 29.73 kB / 455.6 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.3738, allocations: 3.29 MB / 458.9 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.374, allocations: 0.7842 MB / 459.7 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.3742, allocations: 39.47 kB / 459.7 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3744, allocations: 111.4 kB / 459.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3744, allocations: 0 / 459.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3938, allocations: 5.444 MB / 465.3 MB, free: 45.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.3941, allocations: 187.4 kB / 465.5 MB, free: 45.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.172, allocations: 0 / 465.5 MB, free: 45.22 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