Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_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.0009452/0.0009452, allocations: 111 kB / 17.32 MB, free: 6.008 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.0008873/0.0008872, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1691/0.1691, allocations: 44.18 MB / 336.3 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 61.41 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 60.82 MB / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002733/0.1152, allocations: 1.611 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.1154, allocations: 59.84 kB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.1154, allocations: 3.938 kB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.077e-05/0.1155, allocations: 4 kB / 470.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.1156, allocations: 3.938 kB / 470.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.1157, allocations: 15.98 kB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1158, allocations: 35.86 kB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.1159, allocations: 23.97 kB / 470.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.1159, allocations: 11.94 kB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.116, allocations: 19.86 kB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.116, allocations: 0 / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.116, allocations: 4 kB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1161, allocations: 0 / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.1161, allocations: 23.81 kB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.1162, allocations: 36.09 kB / 470.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1162, allocations: 4 kB / 470.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1162, allocations: 4 kB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1163, allocations: 0 / 470.7 MB, free: 12.79 MB / 350.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.1167, allocations: 347.5 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1167, allocations: 8.031 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1168, allocations: 34.75 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1168, allocations: 8.844 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.117, allocations: 180.2 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1171, allocations: 384 / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1171, allocations: 12.31 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1172, allocations: 76.8 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1172, allocations: 3.938 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1173, allocations: 3.938 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1173, allocations: 3.984 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.1174, allocations: 27.92 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1178, allocations: 441.2 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.118, allocations: 42.5 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.118, allocations: 16.94 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.118, allocations: 8 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1181, allocations: 30.56 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1181, allocations: 0 / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004954/0.1186, allocations: 109.4 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.1186, allocations: 55.41 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.1187, allocations: 109.8 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1187, allocations: 33.7 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1188, allocations: 91.97 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1188, allocations: 19.8 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.1188, allocations: 17.72 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.119, allocations: 322.8 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.119, allocations: 11.98 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.1191, allocations: 43.8 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.1192, allocations: 55.36 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1192, allocations: 4 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/0.1193, allocations: 89.52 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1193, allocations: 15.97 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1194, allocations: 0 / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1194, allocations: 0 / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.1194, allocations: 15.98 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1194, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1195, allocations: 4 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1195, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.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 8.735e-05/0.1196, allocations: 117.8 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1197, allocations: 4 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.1197, allocations: 19.83 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1197, allocations: 0 / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1197, allocations: 4 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1197, allocations: 0 / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1199, allocations: 173.5 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1199, allocations: 0 / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.12, allocations: 8 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.12, allocations: 384 / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.12, allocations: 3.984 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.12, allocations: 4 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.12, allocations: 4 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1202, allocations: 179.4 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1203, allocations: 85.05 kB / 473.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1203, allocations: 0 / 473.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.1204, allocations: 3.984 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.1204, allocations: 7.938 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1204, allocations: 0 / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.52e-05/0.1205, allocations: 95.33 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1205, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1207, allocations: 15.94 kB / 473.6 MB, free: 9.516 MB / 350.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.000581/0.1213, allocations: 0.6974 MB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1215, allocations: 39.98 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1215, allocations: 288 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.1215, allocations: 19.92 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1218, allocations: 14.44 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1231, allocations: 1.38 MB / 475.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1234, allocations: 0.6885 MB / 476.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.1234, allocations: 4 kB / 476.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1235, allocations: 19.44 kB / 476.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1235, allocations: 0 / 476.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.14, allocations: 1.45 MB / 477.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.1402, allocations: 191.8 kB / 478.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.158, allocations: 0 / 478.1 MB, free: 4.898 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches