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.001223/0.001223, allocations: 108.3 kB / 17.09 MB, free: 5.949 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.001059/0.001059, allocations: 200.2 kB / 18.02 MB, free: 5.035 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.219/1.219, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1819/0.1819, allocations: 43.53 MB / 314.8 MB, free: 452 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.001543/0.001543, allocations: 69.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09953, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002777/0.1024, allocations: 1.549 MB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.1026, allocations: 63.73 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.1027, allocations: 0 / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1028, allocations: 7.938 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.1029, allocations: 7.922 kB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.103, allocations: 23.92 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1031, allocations: 39.91 kB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.1032, allocations: 7.984 kB / 0.4902 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.1033, allocations: 11.94 kB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.1033, allocations: 15.92 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1033, allocations: 4 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.1034, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1034, allocations: 11.94 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1034, allocations: 11.94 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1035, allocations: 47.81 kB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1035, allocations: 0 / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1035, allocations: 0 / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1036, allocations: 0 / 0.4903 GB, free: 9.996 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.0004199/0.104, allocations: 355.2 kB / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.104, allocations: 15.83 kB / 0.4906 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1041, allocations: 8.844 kB / 0.4906 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1043, allocations: 172.4 kB / 0.4908 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1043, allocations: 4.375 kB / 0.4908 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1043, allocations: 8.375 kB / 0.4908 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1045, allocations: 68.81 kB / 0.4909 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1045, allocations: 4.125 kB / 0.4909 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1045, allocations: 3.938 kB / 0.4909 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1045, allocations: 4 kB / 0.4909 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.1046, allocations: 23.97 kB / 0.4909 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1051, allocations: 453.1 kB / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1052, allocations: 42.56 kB / 0.4914 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.1053, allocations: 24.88 kB / 0.4914 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1053, allocations: 0 / 0.4914 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1053, allocations: 30.56 kB / 0.4915 GB, free: 8.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1053, allocations: 0 / 0.4915 GB, free: 8.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.00042/0.1058, allocations: 117.3 kB / 0.4916 GB, free: 8.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1058, allocations: 51.41 kB / 0.4916 GB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.1059, allocations: 113.8 kB / 0.4917 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1059, allocations: 29.7 kB / 0.4917 GB, free: 8.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.106, allocations: 95.98 kB / 0.4918 GB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.106, allocations: 11.8 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.106, allocations: 17.72 kB / 0.4919 GB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.1061, allocations: 326.8 kB / 0.4922 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.1062, allocations: 12 kB / 0.4922 GB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1063, allocations: 43.42 kB / 0.4922 GB, free: 7.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1064, allocations: 55.36 kB / 0.4923 GB, free: 7.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1064, allocations: 0 / 0.4923 GB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001503/0.1065, allocations: 85.64 kB / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1066, allocations: 4 kB / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1066, allocations: 0 / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1066, allocations: 4 kB / 0.4924 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.1066, allocations: 12.36 kB / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1067, allocations: 8.094 kB / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.1067, allocations: 4 kB / 0.4924 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1067, allocations: 7.984 kB / 0.4924 GB, free: 7.559 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.028e-05/0.1068, allocations: 125.7 kB / 0.4925 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1069, allocations: 11.91 kB / 0.4925 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.1069, allocations: 11.89 kB / 0.4925 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1069, allocations: 4 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1069, allocations: 0 / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1069, allocations: 77.11 kB / 0.4926 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.107, allocations: 0 / 0.4926 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.107, allocations: 7.938 kB / 0.4926 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1071, allocations: 7.984 kB / 0.4926 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002133/0.1073, allocations: 153.2 kB / 0.4928 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002392/0.1075, allocations: 254.8 kB / 0.493 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.079e-05/0.1076, allocations: 19.95 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.1076, allocations: 91.27 kB / 0.4931 GB, free: 6.75 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.1076, allocations: 0 / 0.4931 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.108, allocations: 102.4 kB / 0.4932 GB, free: 6.645 MB / 382.1 MB Notification: Performance of SimCode: time 0.00049/0.1085, allocations: 0.6088 MB / 0.4938 GB, free: 5.984 MB / 382.1 MB Notification: Performance of Templates: time 0.002655/0.1112, allocations: 0.5924 MB / 0.4944 GB, free: 5.395 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