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.001829/0.001829, allocations: 109.5 kB / 16.41 MB, free: 6.504 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.001937/0.001937, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2109/0.2109, allocations: 43.53 MB / 314.1 MB, free: 456 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.002009/0.002009, allocations: 75.89 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002683/0.1092, allocations: 1.544 MB / 0.4889 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.1094, allocations: 63.75 kB / 0.489 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.1095, allocations: 0 / 0.489 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1096, allocations: 3.938 kB / 0.489 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1097, allocations: 11.86 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1098, allocations: 15.98 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1099, allocations: 39.91 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.11, allocations: 7.984 kB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1101, allocations: 15.94 kB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.1101, allocations: 15.92 kB / 0.4891 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1101, allocations: 4 kB / 0.4891 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1102, allocations: 4 kB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.1102, allocations: 7.938 kB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.1102, allocations: 15.88 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1103, allocations: 39.81 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1103, allocations: 3.938 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1104, allocations: 0 / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1104, allocations: 4 kB / 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.0004789/0.1109, allocations: 355.3 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1109, allocations: 11.89 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1109, allocations: 30.75 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.111, allocations: 8.891 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1112, allocations: 184.3 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1112, allocations: 4.375 kB / 0.4897 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1113, allocations: 4.375 kB / 0.4897 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1114, allocations: 80.73 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1114, allocations: 7.922 kB / 0.4898 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1115, allocations: 0 / 0.4898 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1115, allocations: 7.938 kB / 0.4898 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.1116, allocations: 23.92 kB / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1121, allocations: 457.2 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1123, allocations: 38.56 kB / 0.4903 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.1123, allocations: 16.86 kB / 0.4903 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1123, allocations: 3.938 kB / 0.4903 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1124, allocations: 30.56 kB / 0.4903 GB, free: 9.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1124, allocations: 4 kB / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004757/0.1128, allocations: 105.6 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1129, allocations: 55.34 kB / 0.4905 GB, free: 8.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.113, allocations: 113.8 kB / 0.4906 GB, free: 8.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.113, allocations: 25.7 kB / 0.4906 GB, free: 8.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1131, allocations: 100 kB / 0.4907 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1131, allocations: 11.91 kB / 0.4907 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1132, allocations: 21.72 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1133, allocations: 322.8 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.1133, allocations: 12 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.1134, allocations: 39.42 kB / 0.4911 GB, free: 8.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1135, allocations: 63.36 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1135, allocations: 0 / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.1137, allocations: 81.56 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1137, allocations: 7.984 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1137, allocations: 0 / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1138, allocations: 4 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.1138, allocations: 20.03 kB / 0.4913 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1138, allocations: 0 / 0.4913 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.1139, allocations: 4 kB / 0.4913 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1139, allocations: 4 kB / 0.4913 GB, free: 8.035 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.31e-05/0.114, allocations: 121.7 kB / 0.4914 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.114, allocations: 7.953 kB / 0.4914 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.1141, allocations: 7.906 kB / 0.4914 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1141, allocations: 4 kB / 0.4914 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1141, allocations: 384 / 0.4914 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1141, allocations: 4.375 kB / 0.4914 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1143, allocations: 169.6 kB / 0.4916 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1143, allocations: 0 / 0.4916 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1144, allocations: 19.86 kB / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1144, allocations: 0 / 0.4916 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1144, allocations: 11.92 kB / 0.4916 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1145, allocations: 0 / 0.4916 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1145, allocations: 0 / 0.4916 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1147, allocations: 179.5 kB / 0.4918 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1148, allocations: 85.05 kB / 0.4919 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1148, allocations: 4 kB / 0.4919 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.1149, allocations: 4.031 kB / 0.4919 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1149, allocations: 0 / 0.4919 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1149, allocations: 0 / 0.4919 GB, free: 7.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.115, allocations: 91.27 kB / 0.492 GB, free: 7.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.115, allocations: 0 / 0.492 GB, free: 7.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1152, allocations: 11.94 kB / 0.492 GB, free: 7.227 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.0005685/0.1158, allocations: 0.7086 MB / 0.4927 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1159, allocations: 43.91 kB / 0.4927 GB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.116, allocations: 4.25 kB / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.116, allocations: 8 kB / 0.4927 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1163, allocations: 26.02 kB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1177, allocations: 1.379 MB / 0.4941 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1181, allocations: 0.6846 MB / 0.4948 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.1181, allocations: 4 kB / 0.4948 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1182, allocations: 19.44 kB / 0.4948 GB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1182, allocations: 0 / 0.4948 GB, free: 4.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.1421, allocations: 1.572 MB / 0.4963 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/7.959, allocations: 4.312 kB / 0.4963 GB, free: 2.629 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