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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008099/0.0008099, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9091/0.9091, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 3.984 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.613e-05, allocations: 2.281 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002676/0.002693, allocations: 2.762 MB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003768, allocations: 0.7487 MB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.003916, allocations: 8 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.004061, allocations: 55.33 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.004224, allocations: 111 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004486, allocations: 119.8 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.004846, allocations: 482.3 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.005032, allocations: 112.4 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.005271, allocations: 275.4 kB / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.005417, allocations: 143.6 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.005464, allocations: 43.98 kB / 411.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.0055, allocations: 40 kB / 411.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.005552, allocations: 95.59 kB / 411.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.005639, allocations: 143.6 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.005958, allocations: 482.4 kB / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00596, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005961, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.005966, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 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.0008241/0.00679, allocations: 0.634 MB / 413 MB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.006828, allocations: 15.97 kB / 413 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.006888, allocations: 74.72 kB / 413.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.006942, allocations: 48.66 kB / 413.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.007224, allocations: 228.9 kB / 413.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.007245, allocations: 29.38 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.007289, allocations: 44.3 kB / 413.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.0077, allocations: 339 kB / 413.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.007714, allocations: 192 / 413.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.007739, allocations: 24.12 kB / 413.8 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.007748, allocations: 12 kB / 413.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.008127, allocations: 299.8 kB / 414.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.009434, allocations: 1.203 MB / 415.3 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.009766, allocations: 257.4 kB / 415.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.009945, allocations: 137.4 kB / 415.7 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.009968, allocations: 8.281 kB / 415.7 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.009991, allocations: 46.78 kB / 415.8 MB, free: 9.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.009993, allocations: 0 / 415.8 MB, free: 9.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005126/0.01051, allocations: 374.6 kB / 416.1 MB, free: 8.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.01054, allocations: 55.41 kB / 416.2 MB, free: 8.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01075, allocations: 269.8 kB / 416.5 MB, free: 8.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.01077, allocations: 33.69 kB / 416.5 MB, free: 8.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.01098, allocations: 208.3 kB / 416.7 MB, free: 8.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.01104, allocations: 123 kB / 416.8 MB, free: 8.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.01112, allocations: 78.12 kB / 416.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01123, allocations: 334.8 kB / 417.2 MB, free: 7.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.01138, allocations: 108.9 kB / 417.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01155, allocations: 172.1 kB / 417.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.01187, allocations: 292.6 kB / 417.8 MB, free: 6.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01187, allocations: 0 / 417.8 MB, free: 6.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004567/0.01233, allocations: 370.5 kB / 418.1 MB, free: 6.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01234, allocations: 8 kB / 418.1 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01235, allocations: 4 kB / 418.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01236, allocations: 7.984 kB / 418.2 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.01261, allocations: 103.9 kB / 418.3 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01261, allocations: 3.938 kB / 418.3 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01273, allocations: 47.66 kB / 418.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01275, allocations: 15.98 kB / 418.3 MB, free: 6.43 MB / 394.7 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.0001003/0.01285, allocations: 145.8 kB / 418.5 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01289, allocations: 35.75 kB / 418.5 MB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.01327, allocations: 328.2 kB / 418.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01327, allocations: 4 kB / 418.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01328, allocations: 0 / 418.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01328, allocations: 3.938 kB / 418.8 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.01355, allocations: 332.4 kB / 419.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01356, allocations: 0 / 419.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.01375, allocations: 87.88 kB / 419.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01375, allocations: 7.938 kB / 419.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01377, allocations: 8 kB / 419.3 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01377, allocations: 3.984 kB / 419.3 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01377, allocations: 0 / 419.3 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.01442, allocations: 0.5143 MB / 419.8 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.01449, allocations: 51.69 kB / 419.8 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.01452, allocations: 7.938 kB / 419.8 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.01462, allocations: 11.98 kB / 419.8 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.01467, allocations: 24.03 kB / 419.9 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01468, allocations: 15.98 kB / 419.9 MB, free: 4.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.0148, allocations: 185.2 kB / 420.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0148, allocations: 0 / 420.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.01502, allocations: 91.84 kB / 420.1 MB, free: 4.527 MB / 394.7 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.0006674/0.01569, allocations: 1.064 MB / 421.2 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.01604, allocations: 259.6 kB / 421.5 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01604, allocations: 0 / 421.5 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.01618, allocations: 123.8 kB / 421.6 MB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01642, allocations: 40.42 kB / 421.6 MB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.01951, allocations: 3.089 MB / 424.7 MB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01962, allocations: 181.3 kB / 424.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.01974, allocations: 38.94 kB / 424.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.01987, allocations: 116.4 kB / 425 MB, free: 15.46 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01987, allocations: 0 / 425 MB, free: 15.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.03728, allocations: 6.527 MB / 431.6 MB, free: 8.922 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/6.629, allocations: 11.44 kB / 431.6 MB, free: 8.914 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.626655393280089]