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.001118/0.001118, allocations: 106 kB / 16.41 MB, free: 6.492 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.001118/0.001118, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1978/0.1978, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001504/0.001504, allocations: 74.03 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002692/0.1101, allocations: 1.537 MB / 0.4889 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.1103, allocations: 67.72 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.1104, allocations: 4 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1105, allocations: 3.938 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.1106, allocations: 7.875 kB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.1107, allocations: 19.97 kB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1108, allocations: 35.92 kB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.111, allocations: 8 kB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.111, allocations: 11.92 kB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1111, allocations: 15.92 kB / 0.4891 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1111, allocations: 8 kB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.1111, allocations: 4 kB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1111, allocations: 11.92 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1112, allocations: 11.94 kB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1113, allocations: 35.84 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1113, allocations: 3.938 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1113, allocations: 0 / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1113, allocations: 0 / 0.4891 GB, free: 10.52 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.0004352/0.1117, allocations: 355.3 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1118, allocations: 15.89 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1118, allocations: 34.73 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1119, allocations: 8.844 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1121, allocations: 180.4 kB / 0.4897 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1121, allocations: 384 / 0.4897 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1121, allocations: 4.375 kB / 0.4897 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1123, allocations: 80.72 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1123, allocations: 11.94 kB / 0.4898 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1123, allocations: 0 / 0.4898 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1123, allocations: 0 / 0.4898 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1125, allocations: 23.98 kB / 0.4898 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.113, allocations: 453.1 kB / 0.4902 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1131, allocations: 42.5 kB / 0.4903 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.1132, allocations: 16.94 kB / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1132, allocations: 11.88 kB / 0.4903 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1132, allocations: 30.56 kB / 0.4903 GB, free: 9.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1132, allocations: 0 / 0.4903 GB, free: 9.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000422/0.1137, allocations: 105.4 kB / 0.4904 GB, free: 8.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1137, allocations: 63.33 kB / 0.4905 GB, free: 8.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.1138, allocations: 113.8 kB / 0.4906 GB, free: 8.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1138, allocations: 25.7 kB / 0.4906 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1139, allocations: 88.05 kB / 0.4907 GB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1139, allocations: 23.73 kB / 0.4907 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.114, allocations: 17.72 kB / 0.4908 GB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1141, allocations: 322.8 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.1141, allocations: 15.98 kB / 0.4911 GB, free: 8.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.1142, allocations: 35.42 kB / 0.4911 GB, free: 8.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1143, allocations: 67.36 kB / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1143, allocations: 0 / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000155/0.1145, allocations: 77.61 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1145, allocations: 8 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1145, allocations: 0 / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1145, allocations: 0 / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.1146, allocations: 19.92 kB / 0.4913 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1146, allocations: 4.094 kB / 0.4913 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.1147, allocations: 4 kB / 0.4913 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1147, allocations: 4 kB / 0.4913 GB, free: 8.031 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 8.416e-05/0.1148, allocations: 117.7 kB / 0.4914 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1148, allocations: 7.906 kB / 0.4914 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.1148, allocations: 11.89 kB / 0.4914 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1148, allocations: 384 / 0.4914 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1148, allocations: 4 kB / 0.4914 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1149, allocations: 0 / 0.4914 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.115, allocations: 177.6 kB / 0.4916 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.115, allocations: 3.984 kB / 0.4916 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.1151, allocations: 8 kB / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1151, allocations: 384 / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1152, allocations: 7.875 kB / 0.4916 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1152, allocations: 7.984 kB / 0.4916 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1152, allocations: 0 / 0.4916 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1154, allocations: 179.3 kB / 0.4918 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1154, allocations: 81.14 kB / 0.4919 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1155, allocations: 8 kB / 0.4919 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.1155, allocations: 3.984 kB / 0.4919 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1156, allocations: 4 kB / 0.4919 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1156, allocations: 0 / 0.4919 GB, free: 7.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.148e-05/0.1156, allocations: 91.27 kB / 0.492 GB, free: 7.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1156, allocations: 0 / 0.492 GB, free: 7.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1159, allocations: 11.94 kB / 0.492 GB, free: 7.219 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.0004791/0.1163, allocations: 0.7085 MB / 0.4927 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1165, allocations: 39.92 kB / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1165, allocations: 0 / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.1166, allocations: 20.23 kB / 0.4927 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1169, allocations: 4 kB / 0.4927 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1183, allocations: 1.376 MB / 0.4941 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1186, allocations: 0.6846 MB / 0.4948 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1186, allocations: 3.984 kB / 0.4948 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1187, allocations: 19.44 kB / 0.4948 GB, free: 4.211 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1187, allocations: 0 / 0.4948 GB, free: 4.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.1388, allocations: 1.593 MB / 0.4963 GB, free: 2.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.769, allocations: 4.469 kB / 0.4963 GB, free: 2.617 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches