Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",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.001038/0.001037, 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.001079/0.001079, allocations: 202.4 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.329/1.329, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.3576/0.3576, allocations: 43.5 MB / 313.5 MB, free: 8.387 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.001361/0.001361, allocations: 63.89 kB / 382.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 57.78 MB / 439.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002918/0.1278, allocations: 1.612 MB / 441.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.1281, allocations: 63.73 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.1281, allocations: 3.938 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1282, allocations: 7.984 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.891e-05/0.1283, allocations: 3.938 kB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.1284, allocations: 15.98 kB / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.1285, allocations: 27.92 kB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.1286, allocations: 28.19 kB / 441.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.1286, allocations: 11.94 kB / 441.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.1287, allocations: 15.92 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1287, allocations: 0 / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.1287, allocations: 4 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1287, allocations: 3.938 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.1287, allocations: 15.92 kB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1289, allocations: 31.78 kB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1289, allocations: 4 kB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1289, allocations: 4 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1289, allocations: 0 / 441.8 MB, free: 12.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004368/0.1293, allocations: 351.4 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1294, allocations: 8.031 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.1294, allocations: 38.75 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.1295, allocations: 4.844 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1297, allocations: 176.3 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1297, allocations: 4.375 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1297, allocations: 8.312 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1299, allocations: 76.81 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1299, allocations: 3.938 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1299, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1299, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.13, allocations: 23.92 kB / 442.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1305, allocations: 449.1 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1307, allocations: 46.5 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1307, allocations: 12.86 kB / 442.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1307, allocations: 4 kB / 442.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1308, allocations: 30.56 kB / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1308, allocations: 0 / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004773/0.1313, allocations: 117.4 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1313, allocations: 51.41 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.1314, allocations: 109.8 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1314, allocations: 33.7 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.1315, allocations: 103.9 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1315, allocations: 11.8 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1316, allocations: 17.72 kB / 443.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1317, allocations: 326.8 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.1318, allocations: 12 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1318, allocations: 43.42 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1319, allocations: 55.36 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1319, allocations: 0 / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.1321, allocations: 85.55 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1321, allocations: 8.094 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1321, allocations: 3.984 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1322, allocations: 4 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.1322, allocations: 8.375 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1322, allocations: 0 / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.1323, allocations: 4 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1323, allocations: 12 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.281e-05/0.1324, allocations: 117.7 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1324, allocations: 11.89 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.1325, allocations: 11.91 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1325, allocations: 7.938 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1325, allocations: 0 / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1325, allocations: 0 / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1327, allocations: 169.6 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1327, allocations: 0 / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.1327, allocations: 11.98 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1328, allocations: 0 / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1328, allocations: 4 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1328, allocations: 0 / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1328, allocations: 4.375 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.133, allocations: 179.4 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.1331, allocations: 81.09 kB / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1331, allocations: 0 / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.1332, allocations: 7.938 kB / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1332, allocations: 0 / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1332, allocations: 3.938 kB / 444.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.1333, allocations: 95.33 kB / 444.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1333, allocations: 3.938 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1335, allocations: 15.94 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005099/0.134, allocations: 0.7046 MB / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1342, allocations: 39.98 kB / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1342, allocations: 0 / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.1342, allocations: 15.98 kB / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1346, allocations: 11.98 kB / 445.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.136, allocations: 1.386 MB / 446.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1362, allocations: 0.6848 MB / 447.5 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.1363, allocations: 4 kB / 447.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.1363, allocations: 19.42 kB / 447.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.1363, allocations: 0 / 447.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1472, allocations: 1.394 MB / 448.9 MB, free: 5.297 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.1475, allocations: 190.9 kB / 449.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.852, allocations: 7.938 kB / 449.1 MB, free: 5.035 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches