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: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 114.1 kB / 17.08 MB, free: 5.832 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.001153/0.001153, allocations: 196.1 kB / 18.01 MB, free: 4.965 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.284/1.284, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1934/0.1934, allocations: 43.53 MB / 314.8 MB, free: 472 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.001327/0.001327, allocations: 75.88 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002758/0.1052, allocations: 1.541 MB / 0.49 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000261/0.1055, allocations: 63.72 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.1056, allocations: 4 kB / 0.4901 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1057, allocations: 3.938 kB / 0.4901 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.734e-05/0.1058, allocations: 3.938 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.106, allocations: 23.97 kB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1061, allocations: 35.92 kB / 0.4902 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.1062, allocations: 8 kB / 0.4902 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.1062, allocations: 23.84 kB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.1063, allocations: 15.92 kB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1063, allocations: 4 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.1063, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1063, allocations: 7.938 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1064, allocations: 19.88 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1065, allocations: 31.91 kB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1065, allocations: 3.984 kB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1065, allocations: 0 / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1065, allocations: 0 / 0.4903 GB, free: 10.01 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.00044/0.107, allocations: 351.3 kB / 0.4906 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.107, allocations: 15.89 kB / 0.4906 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.1071, allocations: 4.844 kB / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1073, allocations: 180.4 kB / 0.4908 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1073, allocations: 8.312 kB / 0.4908 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1074, allocations: 4.375 kB / 0.4908 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1075, allocations: 68.81 kB / 0.4909 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1075, allocations: 4.172 kB / 0.4909 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1076, allocations: 7.938 kB / 0.4909 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1076, allocations: 3.938 kB / 0.4909 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.1077, allocations: 23.92 kB / 0.4909 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1082, allocations: 453.1 kB / 0.4913 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1083, allocations: 42.5 kB / 0.4914 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1084, allocations: 20.94 kB / 0.4914 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1084, allocations: 4 kB / 0.4914 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1085, allocations: 30.56 kB / 0.4914 GB, free: 8.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.1085, allocations: 3.984 kB / 0.4914 GB, free: 8.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000489/0.109, allocations: 109.3 kB / 0.4916 GB, free: 8.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.109, allocations: 51.41 kB / 0.4916 GB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.1091, allocations: 121.8 kB / 0.4917 GB, free: 8.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1091, allocations: 25.7 kB / 0.4917 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1092, allocations: 92.05 kB / 0.4918 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1092, allocations: 11.8 kB / 0.4918 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1093, allocations: 25.7 kB / 0.4919 GB, free: 8.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1094, allocations: 318.8 kB / 0.4922 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.1094, allocations: 15.98 kB / 0.4922 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1095, allocations: 43.42 kB / 0.4922 GB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1096, allocations: 59.36 kB / 0.4923 GB, free: 7.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1096, allocations: 4 kB / 0.4923 GB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.1098, allocations: 85.55 kB / 0.4924 GB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1098, allocations: 4 kB / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1098, allocations: 0 / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1098, allocations: 4 kB / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1099, allocations: 11.98 kB / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.11, allocations: 4 kB / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.11, allocations: 4 kB / 0.4924 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.11, allocations: 4 kB / 0.4924 GB, free: 7.57 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.108e-05/0.1101, allocations: 129.8 kB / 0.4925 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1101, allocations: 7.844 kB / 0.4925 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.1102, allocations: 7.906 kB / 0.4925 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1102, allocations: 0 / 0.4925 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1102, allocations: 4.359 kB / 0.4925 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1102, allocations: 0 / 0.4925 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1104, allocations: 169.6 kB / 0.4927 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1104, allocations: 0 / 0.4927 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.1104, allocations: 19.94 kB / 0.4927 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1104, allocations: 3.938 kB / 0.4927 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1105, allocations: 4 kB / 0.4927 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1105, allocations: 0 / 0.4927 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1105, allocations: 0 / 0.4927 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1107, allocations: 179.4 kB / 0.4929 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.1107, allocations: 77.11 kB / 0.493 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1108, allocations: 0 / 0.493 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.1108, allocations: 8.031 kB / 0.493 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1109, allocations: 12.41 kB / 0.493 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1109, allocations: 4 kB / 0.493 GB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.1109, allocations: 91.27 kB / 0.4931 GB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1109, allocations: 0 / 0.4931 GB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1112, allocations: 4 kB / 0.4931 GB, free: 6.762 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 9.998e-05/0.1113, allocations: 95.19 kB / 0.4932 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1114, allocations: 43.91 kB / 0.4932 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1114, allocations: 4.188 kB / 0.4932 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.1115, allocations: 19.98 kB / 0.4932 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1118, allocations: 10.09 kB / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.1122, allocations: 196.2 kB / 0.4934 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1125, allocations: 0.6807 MB / 0.4941 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.1125, allocations: 11.44 kB / 0.4941 GB, free: 5.645 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1125, allocations: 0 / 0.4941 GB, free: 5.645 MB / 382.1 MB Notification: Performance of Templates: time 0.002303/0.1148, allocations: 0.7857 MB / 0.4949 GB, free: 4.855 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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